using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Windows.Forms;
using Xxtea;

namespace TaiwuSaveEdit
{
	public class Form1 : Form
	{
		public class CTXCK : ListViewItem
		{
			private string[] allinfo;

			public CTXCK(string allinfo)
			{
				this.allinfo = allinfo.Split(',');
				base.Text = this.allinfo[0] + " " + this.allinfo[1] + " ";
				base.ToolTipText = this.allinfo[6];
			}

			public string getId()
			{
				return allinfo[0];
			}

			public override string ToString()
			{
				return allinfo[0] + " " + allinfo[1] + " ";
			}
		}

		public class CItem : ListViewItem
		{
			private string key;

			private string name;

			private string type;

			private string[] allinfo;

			public CItem(string allinfo)
			{
				this.allinfo = allinfo.Split(',');
				key = this.allinfo[0];
				name = this.allinfo[2];
				type = this.allinfo[4];
			}

			public string getKey()
			{
				return key;
			}

			public string getName()
			{
				return name;
			}

			public string getType()
			{
				return type;
			}

			public string[] getAllInfo()
			{
				return allinfo;
			}

			public override string ToString()
			{
				return name;
			}
		}

		public class CListItem : ListViewItem
		{
			private string key;

			private object value;

			public CListItem(string key, object value)
			{
				this.key = key;
				this.value = value;
				base.Text = key;
			}

			public object getValue()
			{
				return value;
			}

			public override string ToString()
			{
				return key;
			}
		}

		public struct CBItem
		{
			private string key;

			private object value;

			public CBItem(string key, object value)
			{
				this.key = key;
				this.value = value;
			}

			public object getValue()
			{
				return value;
			}

			public override string ToString()
			{
				return key;
			}
		}

		public class BuildingBox : Panel
		{
			private int index;

			private Label bname;

			private Label level;

			private bool _checked;

			public bool Checked
			{
				get
				{
					return _checked;
				}
				set
				{
					_checked = value;
					bname.ForeColor = (_checked ? Color.White : Color.Black);
					level.ForeColor = (_checked ? Color.White : Color.Black);
					BackColor = (_checked ? Color.Blue : Color.Transparent);
				}
			}

			public BuildingBox(int index)
			{
				this.index = index;
				bname = new Label();
				level = new Label();
				base.Controls.Add(bname);
				base.Controls.Add(level);
				bname.Click += Bname_Click;
				level.Click += Bname_Click;
				bname.Size = new Size(40, 20);
				bname.Font = new Font(Control.DefaultFont.Name, 7f);
				bname.Location = new Point(0, 10);
				bname.TextAlign = ContentAlignment.MiddleCenter;
				level.Size = new Size(20, 10);
				level.Location = new Point(20, 0);
				level.TextAlign = ContentAlignment.MiddleRight;
				reset(true, null, 0, 0);
			}

			private void Bname_Click(object sender, EventArgs e)
			{
				OnClick(e);
			}

			public void reset(bool isEmpty, DateFile.HomeBuildingDate home = null, int partId = 0, int placeId = 0)
			{
				if (!isEmpty && (!home._homeBuildingsDate.ContainsKey(partId) || !home._homeBuildingsDate[partId].ContainsKey(placeId) || !home._homeBuildingsDate[partId][placeId].ContainsKey(index)))
				{
					isEmpty = true;
				}
				if (isEmpty || home == null)
				{
					bname.Text = "空地";
					level.Text = "";
				}
				else
				{
					int[] array = home._homeBuildingsDate[partId][placeId][index];
					bname.Text = basehomePlaceDate[array[0]][0];
					level.Text = string.Concat(array[1]);
				}
			}

			public int getIndex()
			{
				return index;
			}
		}

		public static Dictionary<int, Dictionary<int, string>> basehomePlaceDate = new Dictionary<int, Dictionary<int, string>>();

		public static readonly int[] junk_array = new int[25]
		{
			50809,
			50909,
			80809,
			80818,
			80827,
			80909,
			80918,
			80927,
			70209,
			70309,
			74009,
			60809,
			60909,
			61009,
			61109,
			61209,
			61309,
			61409,
			61509,
			61609,
			61709,
			61809,
			61909,
			62009,
			62109
		};

		private readonly List<int> hp0NoGetAttr = new List<int>
		{
			92,
			93,
			601,
			602,
			603,
			604,
			605,
			701,
			702,
			703,
			801,
			802,
			803,
			804,
			908
		};

		private readonly List<int> hpDownAttrDown = new List<int>
		{
			102,
			103,
			904,
			905,
			907
		};

		public Dictionary<string, CTXCK> tx_cks = new Dictionary<string, CTXCK>();

		public Dictionary<string, CItem> items_cks = new Dictionary<string, CItem>();

		private Dictionary<int, Dictionary<int, string>> itemPowerDate = new Dictionary<int, Dictionary<int, string>>();

		private Dictionary<int, Dictionary<int, string>> presetitemDate = new Dictionary<int, Dictionary<int, string>>();

		private Dictionary<int, Dictionary<int, string>> cricketDate = new Dictionary<int, Dictionary<int, string>>();

		private Dictionary<int, Dictionary<int, string>> massageDate = new Dictionary<int, Dictionary<int, string>>();

		private Dictionary<int, Dictionary<int, string>> actorSurnameDate = new Dictionary<int, Dictionary<int, string>>();

		private Dictionary<int, Dictionary<int, string>> partWorldMapDate = new Dictionary<int, Dictionary<int, string>>();

		private Dictionary<int, Dictionary<int, string>> gongFaDate = new Dictionary<int, Dictionary<int, string>>();

		public List<string> item_types = new List<string>();

		public List<CBItem> actors_list = new List<CBItem>();

		public Dictionary<int, CBItem> actor_hobbys = new Dictionary<int, CBItem>();

		public Dictionary<int, CBItem> actor_abhors = new Dictionary<int, CBItem>();

		private DateFile.SaveDate sv;

		private DateFile.HomeBuildingDate home;

		private DateFile.GameSetting gs;

		private DateFile.ActorLife al;

		private static Random random;

		private int pId;

		private string path = "";

		public static string cfgpath = Application.StartupPath + "\\just.cfg";

		private Dictionary<int, BuildingBox> buildingBoxs = new Dictionary<int, BuildingBox>();

		private int cn;

		private bool isLoad;

		private int p_partId;

		private int p_placeId;

		private BuildingBox selectBuildBox;

		private bool building_changed;

		private List<int> actor_txs_list = new List<int>();

		private IContainer components;

		private MenuStrip menuStrip1;

		private ToolStripMenuItem fileToolStripMenuItem;

		private ToolStripMenuItem openToolStripMenuItem;

		private ToolStripMenuItem saveToolStripMenuItem;

		private TabControl tabControl1;

		private TabPage tabPage1;

		private Panel panel1;

		private Label label39;

		private CheckBox ck_trzh;

		private CheckBox ck_tgkw;

		private CheckBox ck_yxxp;

		private CheckBox ck_yrzr;

		private CheckBox ck_qqsh;

		private CheckBox ck_66;

		private CheckBox ck_65;

		private CheckBox ck_64;

		private CheckBox ck_63;

		private CheckBox ck_62;

		private CheckBox ck_61;

		private TextBox dt_11;

		private Button btn_random;

		private Label label38;

		private TextBox dt_13;

		private TextBox dt_12;

		private Label label37;

		private TextBox dt_611;

		private TextBox dt_610;

		private Label label23;

		private Label label24;

		private TextBox dt_607;

		private Label label25;

		private TextBox dt_609;

		private TextBox dt_608;

		private Label label26;

		private TextBox dt_605;

		private Label label27;

		private Label label28;

		private TextBox dt_614;

		private TextBox dt_613;

		private Label label29;

		private TextBox dt_612;

		private Label label30;

		private TextBox dt_606;

		private Label label31;

		private Label label32;

		private TextBox dt_604;

		private TextBox dt_603;

		private Label label33;

		private TextBox dt_602;

		private Label label34;

		private TextBox dt_601;

		private Label label35;

		private Label label36;

		private TextBox dt_0;

		private TextBox dt_5;

		private TextBox dt_512;

		private TextBox dt_511;

		private Label label19;

		private TextBox dt_508;

		private Label label20;

		private TextBox dt_507;

		private Label label21;

		private Label label22;

		private TextBox dt_516;

		private TextBox dt_510;

		private Label label15;

		private TextBox dt_509;

		private Label label16;

		private TextBox dt_505;

		private Label label17;

		private Label label18;

		private TextBox dt_515;

		private TextBox dt_514;

		private Label label7;

		private TextBox dt_513;

		private Label label8;

		private TextBox dt_506;

		private Label label13;

		private Label label14;

		private TextBox dt_504;

		private TextBox dt_503;

		private Label label9;

		private TextBox dt_502;

		private Label label10;

		private TextBox dt_501;

		private Label label11;

		private Label label12;

		private TextBox dt_65;

		private Label label6;

		private TextBox dt_64;

		private Label label5;

		private TextBox dt_63;

		private Label label4;

		private TextBox dt_62;

		private Label label3;

		private TextBox dt_61;

		private Label label2;

		private TextBox dt_66;

		private Label label1;

		private TabPage tabPage2;

		private ComboBox cb_as;

		private Button btn_savesx;

		private Panel panel_txs;

		private TextBox dt_101;

		private TabPage tabPage3;

		private Panel panel2;

		private ListView list_items;

		private Button search;

		private ComboBox cb_item_type;

		private TextBox item_name_for_search;

		private Button button3;

		private Panel panel3;

		private Label label40;

		private Label lb_item_num;

		private CheckBox ck_all_page;

		private TextBox tb_item_num;

		private Label item_info;

		private Label item_name;

		private TextBox tb_item_id;

		private Button item_add;

		private TextBox actor_name_for_search;

		private Button btn_actor_search;

		private TextBox actor_id;

		private TabPage tabPage4;

		private ListView list_txs;

		private TextBox mianActorPlaceId;

		private TextBox mianActor_partId;

		private Label label41;

		private ComboBox placeIds;

		private ComboBox partIds;

		private Panel buildings;

		private TextBox building_index;

		private Button change_building;

		private TextBox building_level;

		private ComboBox building_ids;

		private ListBox list_building_value;

		private TextBox building_id;

		private Label label42;

		private TextBox building_type;

		private Label label43;

		private Label label45;

		private Label label44;

		private TextBox dt_16;

		private Label label46;

		private Label label47;

		private Button btn_trytofix_item_id;

		private ListView actor_txs;

		private Label label48;

		private TextBox dt_15;

		private TextBox dt_18;

		private TextBox dt_651;

		private Label label49;

		private TextBox dt_551;

		private Label label50;

		private Label label54;

		private Label label53;

		private Label label52;

		private Label label51;

		private Label label57;

		private Label label56;

		private Label label55;

		private TextBox dt_996;

		private TextBox dt_995;

		private Button decode;

		private ComboBox dt_203;

		private ComboBox dt_202;

		private TabPage tabPage5;

		private Panel panel4;

		private TextBox ageTime;

		private TextBox homeTypId;

		private TextBox birthWorldId;

		private TextBox randomHeir;

		private TextBox worldResource;

		private TextBox xxLevel;

		private TextBox enemySize;

		private TextBox enemyBorn;

		private Label label63;

		private Label label62;

		private Label label61;

		private Label label60;

		private Label label59;

		private Label label58;

		private Label label64;

		private CheckBox ck_superQuqu;

		private CheckBox ck_junk;

		private CheckBox ck_superJunk;

		private TextBox item_7;

		private Label label65;

		private Label lb_num4;

		private Label lb_num3;

		private Label lb_num2;

		private TabPage tabPage6;

		private Panel panel5;

		private ListView actor_gfs;

		private Button gf_forget;

		private Button gf_change;

		private TextBox gf_v2;

		private TextBox gf_v1;

		private TextBox gf_v0;

		private TextBox gf_id;

		private Label label69;

		private Label label68;

		private Label label67;

		private Label label66;

		private TextBox dt_402;

		private TextBox dt_401;

		private TextBox dt_407;

		private TextBox dt_406;

		private TextBox dt_405;

		private TextBox dt_404;

		private TextBox dt_403;

		private Label label76;

		private Label label75;

		private Label label74;

		private Label label73;

		private Label label72;

		private Label label71;

		private Label label70;

		private Label label77;

		private TextBox homeFavorAdd;

		private Label label78;

		private CheckBox ck_max_level;

		private ComboBox ck_building_types;

		private ListView listView1;

		private TextBox dt_901;

		private CheckBox ck_only_twc;

		private Label label80;

		private TextBox dt_706;

		private Label label79;

		private TextBox dt_3;

		private Label label81;

		private TabPage tabPage7;

		private Panel panel6;

		private TextBox ssm_6;

		private TextBox ssl_6;

		private TextBox ssm_5;

		private TextBox ssl_5;

		private TextBox ssm_4;

		private TextBox ssl_4;

		private TextBox ssm_3;

		private TextBox ssl_3;

		private TextBox ssm_2;

		private TextBox ssl_2;

		private TextBox ssm_1;

		private TextBox ssl_1;

		private TextBox ssm_0;

		private TextBox ssl_0;

		private Label label90;

		private Label label89;

		private Label label88;

		private Label label87;

		private Label label86;

		private Label label85;

		private Label label84;

		private Label label83;

		private Label label82;

		private Button btn_search_buildingIds;

		private TextBox building_name_for_search;

		public void GetDate(string dateName, Dictionary<int, Dictionary<int, string>> dateList, int passDateIndex = -1)
		{
			dateList.Clear();
			string[] array = File.OpenText(dateName + ".txt").ReadToEnd().Replace("\r", "")
				.Split("\n"[0]);
			string[] array2 = array[0].Split(',');
			for (int i = 0; i < array.Length; i++)
			{
				string[] array3 = array[i].Split(',');
				if (array3[0] != "#" && array3[0] != "")
				{
					Dictionary<int, string> dictionary = new Dictionary<int, string>();
					for (int j = 0; j < array2.Length; j++)
					{
						if (array2[j] != "#" && array2[j] != "" && int.Parse(array2[j]) != passDateIndex)
						{
							dictionary.Add(int.Parse(array2[j]), array3[j]);
						}
					}
					dateList.Add(int.Parse(array3[0]), dictionary);
				}
			}
		}

		private string getRandom(int min, int max)
		{
			return string.Concat(GetRandomByGuid(min, max));
		}

		private static int GetRandomByGuid(int min, int max)
		{
			if (random == null)
			{
				random = new Random(GetRandomSeed());
			}
			return random.Next(min, max);
		}

		private static int GetRandomSeed()
		{
			byte[] array = new byte[4];
			new RNGCryptoServiceProvider().GetBytes(array);
			return BitConverter.ToInt32(array, 0);
		}

		private void loadSX()
		{
			dt_0.Text = sv._actorsDate[pId][0];
			actor_id.Text = string.Concat(pId);
			if (sv._actorsDate[pId].ContainsKey(5))
			{
				dt_5.Text = sv._actorsDate[pId][5];
				dt_5.ReadOnly = false;
			}
			else
			{
				int key = int.Parse(sv._actorsDate[pId][29]);
				dt_5.Text = actorSurnameDate[key][0];
				dt_5.ReadOnly = false;
			}
			if (sv._actorsDate[pId].ContainsKey(3))
			{
				dt_3.Text = sv._actorsDate[pId][3];
			}
			else
			{
				dt_3.Text = "0";
			}
			dt_11.Text = sv._actorsDate[pId][11];
			dt_12.Text = sv._actorsDate[pId][12];
			dt_13.Text = sv._actorsDate[pId][13];
			if (sv._actorsDate[pId].ContainsKey(15))
			{
				dt_15.Text = sv._actorsDate[pId][15];
			}
			else
			{
				dt_5.Text = "0";
			}
			dt_16.Text = sv._actorsDate[pId][16];
			if (sv._actorsDate[pId].ContainsKey(18))
			{
				dt_18.Text = sv._actorsDate[pId][18];
				dt_18.ReadOnly = false;
			}
			else
			{
				dt_18.Text = "";
				dt_18.ReadOnly = true;
			}
			if (sv._actorsDate[pId].ContainsKey(551))
			{
				dt_551.Text = sv._actorsDate[pId][551];
				dt_551.ReadOnly = false;
			}
			else
			{
				dt_551.Text = "";
				dt_551.ReadOnly = true;
			}
			if (sv._actorsDate[pId].ContainsKey(651))
			{
				dt_651.Text = sv._actorsDate[pId][651];
				dt_651.ReadOnly = false;
			}
			else
			{
				dt_651.Text = "";
				dt_651.ReadOnly = true;
			}
			if (sv._actorsDate[pId].ContainsKey(995))
			{
				dt_995.Text = sv._actorsDate[pId][995];
				dt_995.ReadOnly = false;
			}
			else
			{
				dt_995.Text = "";
				dt_995.ReadOnly = true;
			}
			if (sv._actorsDate[pId].ContainsKey(996))
			{
				dt_996.Text = sv._actorsDate[pId][996];
				dt_996.ReadOnly = false;
			}
			else
			{
				dt_996.Text = "";
				dt_996.ReadOnly = true;
			}
			if (sv._actorsDate[pId].ContainsKey(901))
			{
				dt_901.Text = sv._actorsDate[pId][901];
				dt_901.ReadOnly = false;
			}
			else
			{
				dt_901.Text = "";
				dt_901.ReadOnly = true;
			}
			if (sv._actorsDate[pId].ContainsKey(706))
			{
				dt_706.Text = sv._actorsDate[pId][706];
				dt_706.ReadOnly = false;
			}
			else
			{
				dt_706.Text = "";
				dt_706.ReadOnly = true;
			}
			dt_61.Text = sv._actorsDate[pId][61];
			dt_62.Text = sv._actorsDate[pId][62];
			dt_63.Text = sv._actorsDate[pId][63];
			dt_64.Text = sv._actorsDate[pId][64];
			dt_65.Text = sv._actorsDate[pId][65];
			dt_66.Text = sv._actorsDate[pId][66];
			dt_101.Text = sv._actorsDate[pId][101];
			actor_txs_list.Clear();
			string[] array = dt_101.Text.Split(new char[1]
			{
				'|'
			}, StringSplitOptions.RemoveEmptyEntries);
			foreach (string s in array)
			{
				int num = -1;
				try
				{
					num = int.Parse(s);
					add_tx(num);
				}
				catch
				{
				}
			}
			resetTXView();
			int num2 = 0;
			int num3 = 0;
			if (sv._actorsDate[pId].ContainsKey(202))
			{
				try
				{
					num2 = int.Parse(sv._actorsDate[pId][202]);
				}
				catch
				{
				}
			}
			if (sv._actorsDate[pId].ContainsKey(203))
			{
				try
				{
					num3 = int.Parse(sv._actorsDate[pId][203]);
				}
				catch
				{
				}
			}
			if (actor_hobbys.ContainsKey(num2))
			{
				dt_202.SelectedItem = actor_hobbys[num2];
				dt_202.Enabled = true;
			}
			else
			{
				dt_202.Enabled = false;
				dt_202.Text = string.Concat(num2);
			}
			if (actor_abhors.ContainsKey(num3))
			{
				dt_203.SelectedItem = actor_abhors[num3];
				dt_203.Enabled = true;
			}
			else
			{
				dt_203.Enabled = false;
				dt_203.Text = string.Concat(num3);
			}
			dt_401.Text = sv._actorsDate[pId][401];
			dt_402.Text = sv._actorsDate[pId][402];
			dt_403.Text = sv._actorsDate[pId][403];
			dt_404.Text = sv._actorsDate[pId][404];
			dt_405.Text = sv._actorsDate[pId][405];
			dt_406.Text = sv._actorsDate[pId][406];
			dt_407.Text = sv._actorsDate[pId][407];
			dt_501.Text = sv._actorsDate[pId][501];
			dt_502.Text = sv._actorsDate[pId][502];
			dt_503.Text = sv._actorsDate[pId][503];
			dt_504.Text = sv._actorsDate[pId][504];
			dt_505.Text = sv._actorsDate[pId][505];
			dt_506.Text = sv._actorsDate[pId][506];
			dt_507.Text = sv._actorsDate[pId][507];
			dt_508.Text = sv._actorsDate[pId][508];
			dt_509.Text = sv._actorsDate[pId][509];
			dt_510.Text = sv._actorsDate[pId][510];
			dt_511.Text = sv._actorsDate[pId][511];
			dt_512.Text = sv._actorsDate[pId][512];
			dt_513.Text = sv._actorsDate[pId][513];
			dt_514.Text = sv._actorsDate[pId][514];
			dt_515.Text = sv._actorsDate[pId][515];
			dt_516.Text = sv._actorsDate[pId][516];
			dt_601.Text = sv._actorsDate[pId][601];
			dt_602.Text = sv._actorsDate[pId][602];
			dt_603.Text = sv._actorsDate[pId][603];
			dt_604.Text = sv._actorsDate[pId][604];
			dt_605.Text = sv._actorsDate[pId][605];
			dt_606.Text = sv._actorsDate[pId][606];
			dt_607.Text = sv._actorsDate[pId][607];
			dt_608.Text = sv._actorsDate[pId][608];
			dt_609.Text = sv._actorsDate[pId][609];
			dt_610.Text = sv._actorsDate[pId][610];
			dt_611.Text = sv._actorsDate[pId][611];
			dt_612.Text = sv._actorsDate[pId][612];
			dt_613.Text = sv._actorsDate[pId][613];
			dt_614.Text = sv._actorsDate[pId][614];
			loadGFBySearch();
		}

		private void saveSX()
		{
			sv._actorsDate[pId][0] = dt_0.Text;
			if (sv._actorsDate[pId].ContainsKey(3))
			{
				sv._actorsDate[pId][3] = dt_3.Text;
			}
			else if (!"".Equals(dt_3.Text) && !"0".Equals(dt_3.Text))
			{
				sv._actorsDate[pId].Add(3, dt_3.Text);
			}
			if (sv._actorsDate[pId].ContainsKey(5))
			{
				sv._actorsDate[pId][5] = dt_5.Text;
			}
			else
			{
				bool flag = false;
				foreach (int key in actorSurnameDate.Keys)
				{
					if (dt_5.Text.Equals(actorSurnameDate[key][0]))
					{
						flag = true;
						if (!sv._actorsDate[pId].ContainsKey(29))
						{
							sv._actorsDate[pId].Add(29, string.Concat(key));
						}
						else
						{
							sv._actorsDate[pId][29] = string.Concat(key);
						}
						break;
					}
				}
				if (!flag)
				{
					sv._actorsDate[pId].Add(5, dt_5.Text);
				}
			}
			sv._actorsDate[pId][11] = dt_11.Text;
			sv._actorsDate[pId][12] = dt_12.Text;
			sv._actorsDate[pId][13] = dt_13.Text;
			if (sv._actorsDate[pId].ContainsKey(15))
			{
				sv._actorsDate[pId][15] = dt_15.Text;
			}
			else if (dt_15.Text != "" && dt_15.Text != "0")
			{
				sv._actorsDate[pId].Add(15, dt_15.Text);
			}
			sv._actorsDate[pId][16] = dt_16.Text;
			if (sv._actorsDate[pId].ContainsKey(651))
			{
				sv._actorsDate[pId][651] = dt_651.Text;
			}
			if (sv._actorsDate[pId].ContainsKey(18))
			{
				sv._actorsDate[pId][18] = dt_18.Text;
			}
			if (sv._actorsDate[pId].ContainsKey(551))
			{
				sv._actorsDate[pId][551] = dt_551.Text;
			}
			if (sv._actorsDate[pId].ContainsKey(995))
			{
				sv._actorsDate[pId][995] = dt_995.Text;
			}
			if (sv._actorsDate[pId].ContainsKey(996))
			{
				sv._actorsDate[pId][996] = dt_996.Text;
			}
			if (sv._actorsDate[pId].ContainsKey(901))
			{
				sv._actorsDate[pId][901] = dt_901.Text;
			}
			if (sv._actorsDate[pId].ContainsKey(706))
			{
				sv._actorsDate[pId][706] = dt_706.Text;
			}
			CBItem cBItem;
			if (dt_202.Enabled)
			{
				int num = 0;
				if (dt_202.SelectedItem != null)
				{
					cBItem = (CBItem)dt_202.SelectedItem;
					num = (int)cBItem.getValue();
				}
				if (sv._actorsDate[pId].ContainsKey(202))
				{
					sv._actorsDate[pId][202] = string.Concat(num);
				}
				else
				{
					sv._actorsDate[pId].Add(202, string.Concat(num));
				}
			}
			if (dt_203.Enabled)
			{
				int num2 = 0;
				if (dt_203.SelectedItem != null)
				{
					cBItem = (CBItem)dt_203.SelectedItem;
					num2 = (int)cBItem.getValue();
				}
				if (sv._actorsDate[pId].ContainsKey(203))
				{
					sv._actorsDate[pId][203] = string.Concat(num2);
				}
				else
				{
					sv._actorsDate[pId].Add(203, string.Concat(num2));
				}
			}
			sv._actorsDate[pId][61] = dt_61.Text;
			sv._actorsDate[pId][62] = dt_62.Text;
			sv._actorsDate[pId][63] = dt_63.Text;
			sv._actorsDate[pId][64] = dt_64.Text;
			sv._actorsDate[pId][65] = dt_65.Text;
			sv._actorsDate[pId][66] = dt_66.Text;
			sv._actorsDate[pId][101] = dt_101.Text;
			sv._actorsDate[pId][401] = dt_401.Text;
			sv._actorsDate[pId][402] = dt_402.Text;
			sv._actorsDate[pId][403] = dt_403.Text;
			sv._actorsDate[pId][404] = dt_404.Text;
			sv._actorsDate[pId][405] = dt_405.Text;
			sv._actorsDate[pId][406] = dt_406.Text;
			sv._actorsDate[pId][407] = dt_407.Text;
			sv._actorsDate[pId][501] = dt_501.Text;
			sv._actorsDate[pId][502] = dt_502.Text;
			sv._actorsDate[pId][503] = dt_503.Text;
			sv._actorsDate[pId][504] = dt_504.Text;
			sv._actorsDate[pId][505] = dt_505.Text;
			sv._actorsDate[pId][506] = dt_506.Text;
			sv._actorsDate[pId][507] = dt_507.Text;
			sv._actorsDate[pId][508] = dt_508.Text;
			sv._actorsDate[pId][509] = dt_509.Text;
			sv._actorsDate[pId][510] = dt_510.Text;
			sv._actorsDate[pId][511] = dt_511.Text;
			sv._actorsDate[pId][512] = dt_512.Text;
			sv._actorsDate[pId][513] = dt_513.Text;
			sv._actorsDate[pId][514] = dt_514.Text;
			sv._actorsDate[pId][515] = dt_515.Text;
			sv._actorsDate[pId][516] = dt_516.Text;
			sv._actorsDate[pId][601] = dt_601.Text;
			sv._actorsDate[pId][602] = dt_602.Text;
			sv._actorsDate[pId][603] = dt_603.Text;
			sv._actorsDate[pId][604] = dt_604.Text;
			sv._actorsDate[pId][605] = dt_605.Text;
			sv._actorsDate[pId][606] = dt_606.Text;
			sv._actorsDate[pId][607] = dt_607.Text;
			sv._actorsDate[pId][608] = dt_608.Text;
			sv._actorsDate[pId][609] = dt_609.Text;
			sv._actorsDate[pId][610] = dt_610.Text;
			sv._actorsDate[pId][611] = dt_611.Text;
			sv._actorsDate[pId][612] = dt_612.Text;
			sv._actorsDate[pId][613] = dt_613.Text;
			sv._actorsDate[pId][614] = dt_614.Text;
		}

		public DateFile.ActorLife LoadActorLife(string path)
		{
			return (DateFile.ActorLife)GetData(path, typeof(DateFile.ActorLife));
		}

		public DateFile.GameSetting LoadGameSetting(string path)
		{
			return (DateFile.GameSetting)GetData(path, typeof(DateFile.GameSetting));
		}

		public DateFile.SaveDate LoadSaveDate(string path)
		{
			return (DateFile.SaveDate)GetData(path, typeof(DateFile.SaveDate));
		}

		public DateFile.HomeBuildingDate LoadHomeDate(string path)
		{
			return (DateFile.HomeBuildingDate)GetData(path, typeof(DateFile.HomeBuildingDate));
		}

		private object DeserializeObject(string pString, Type pType)
		{
			return JsonConvert.DeserializeObject(pString, pType);
		}

		public object GetData(string fileName, Type pType)
		{
			Stopwatch stopwatch = new Stopwatch();
			stopwatch.Start();
			byte[] array = File.ReadAllBytes(fileName);
			if (array[0] == 95 && array[1] == 115 && array[2] == 68 && array[3] == 65 && array[4] == 84 && array[5] == 65)
			{
				DateFile.SaveDate saveDate = new DateFile.SaveDate();
				saveDate.Load(array);
				stopwatch.Stop();
				return saveDate;
			}
			object result = _oldGetData(fileName, pType);
			stopwatch.Stop();
			return result;
		}

		public object _oldGetData(string fileName, Type pType)
		{
			StreamReader streamReader = File.OpenText(fileName);
			string pString = streamReader.ReadToEnd();
			pString = RijndaelDecrypt(pString, "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
			streamReader.Close();
			return DeserializeObject(pString, pType);
		}

		private string RijndaelDecrypt(string pString, string pKey)
		{
			byte[] bytes = Encoding.UTF8.GetBytes(pKey);
			byte[] array = Convert.FromBase64String(pString);
			byte[] bytes2 = new RijndaelManaged
			{
				Key = bytes,
				Mode = CipherMode.ECB,
				Padding = PaddingMode.PKCS7
			}.CreateDecryptor().TransformFinalBlock(array, 0, array.Length);
			return Encoding.UTF8.GetString(bytes2);
		}

		private string RijndaelEncrypt(string pString, string pKey)
		{
			byte[] bytes = Encoding.UTF8.GetBytes(pKey);
			byte[] bytes2 = Encoding.UTF8.GetBytes(pString);
			byte[] array = new RijndaelManaged
			{
				Key = bytes,
				Mode = CipherMode.ECB,
				Padding = PaddingMode.PKCS7
			}.CreateEncryptor().TransformFinalBlock(bytes2, 0, bytes2.Length);
			return Convert.ToBase64String(array, 0, array.Length);
		}

		private void _oldSetData(string fileName, object pObject)
		{
			string pString = SerializeObject(pObject);
			pString = RijndaelEncrypt(pString, "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
			StreamWriter streamWriter = File.CreateText(fileName);
			streamWriter.Write(pString);
			streamWriter.Flush();
			streamWriter.Close();
		}

		private void SetData(string fileName, object pObject)
		{
			Stopwatch stopwatch = new Stopwatch();
			stopwatch.Start();
			if (pObject.GetType() == typeof(DateFile.ActorLife))
			{
				byte[] bytes = ((DateFile.ActorLife)pObject).SaveV1();
				File.WriteAllBytes(fileName, bytes);
				stopwatch.Stop();
			}
			else if (pObject.GetType() == typeof(DateFile.SaveDate))
			{
				byte[] bytes2 = ((DateFile.SaveDate)pObject).SaveV1();
				File.WriteAllBytes(fileName, bytes2);
				stopwatch.Stop();
			}
			else
			{
				_oldSetData(fileName, pObject);
			}
		}

		private string SerializeObject(object pObject)
		{
			return JsonConvert.SerializeObject(pObject);
		}

		private void setEditable(bool flag)
		{
			dt_11.Enabled = flag;
			dt_12.Enabled = flag;
			dt_13.Enabled = flag;
			dt_61.Enabled = flag;
			dt_62.Enabled = flag;
			dt_63.Enabled = flag;
			dt_64.Enabled = flag;
			dt_65.Enabled = flag;
			dt_66.Enabled = flag;
			dt_501.Enabled = flag;
			dt_502.Enabled = flag;
			dt_503.Enabled = flag;
			dt_504.Enabled = flag;
			dt_505.Enabled = flag;
			dt_506.Enabled = flag;
			dt_507.Enabled = flag;
			dt_508.Enabled = flag;
			dt_509.Enabled = flag;
			dt_510.Enabled = flag;
			dt_511.Enabled = flag;
			dt_512.Enabled = flag;
			dt_513.Enabled = flag;
			dt_514.Enabled = flag;
			dt_515.Enabled = flag;
			dt_516.Enabled = flag;
			dt_601.Enabled = flag;
			dt_602.Enabled = flag;
			dt_603.Enabled = flag;
			dt_604.Enabled = flag;
			dt_605.Enabled = flag;
			dt_606.Enabled = flag;
			dt_607.Enabled = flag;
			dt_608.Enabled = flag;
			dt_609.Enabled = flag;
			dt_610.Enabled = flag;
			dt_611.Enabled = flag;
			dt_612.Enabled = flag;
			dt_613.Enabled = flag;
			dt_614.Enabled = flag;
		}

		private void loadActorFeature()
		{
			string text = "ActorFeature_Date.txt";
			if (File.Exists(text))
			{
				string[] array = File.OpenText(text).ReadToEnd().Split(new char[2]
				{
					'\r',
					'\n'
				}, StringSplitOptions.RemoveEmptyEntries);
				int num = 0;
				tx_cks.Clear();
				list_txs.Items.Clear();
				string[] array2 = array;
				foreach (string text2 in array2)
				{
					if (!text2.StartsWith("#"))
					{
						CTXCK cTXCK = new CTXCK(text2);
						list_txs.Items.Add(cTXCK);
						tx_cks.Add(cTXCK.getId(), cTXCK);
						num++;
					}
				}
			}
		}

		private void loadItemsBySearch(string type, string name)
		{
			list_items.Items.Clear();
			foreach (CItem value in items_cks.Values)
			{
				bool flag = false;
				bool num = type.Equals("") || value.getType().Equals(type);
				flag = (name.Equals("") || value.getName().Contains(name));
				if (num & flag)
				{
					list_items.Items.Add(value);
				}
			}
		}

		private void loadItems()
		{
			string text = "Item_Date.txt";
			if (File.Exists(text))
			{
				string[] array = File.OpenText(text).ReadToEnd().Split(new char[2]
				{
					'\r',
					'\n'
				}, StringSplitOptions.RemoveEmptyEntries);
				items_cks.Clear();
				cb_item_type.Items.Clear();
				item_types.Clear();
				CBItem cBItem = new CBItem("全部", "");
				cb_item_type.Items.Add(cBItem);
				List<CBItem> list = new List<CBItem>();
				string[] array2 = array;
				foreach (string text2 in array2)
				{
					if (!text2.StartsWith("#"))
					{
						CItem cItem = new CItem(text2);
						cItem.Text = cItem.getName() + "lv" + cItem.getAllInfo()[3];
						int num = 0;
						try
						{
							num = int.Parse(cItem.getAllInfo()[3]);
						}
						catch
						{
						}
						switch (num)
						{
						case 1:
							cItem.ForeColor = Color.DarkGray;
							break;
						case 2:
							cItem.ForeColor = Color.GhostWhite;
							break;
						case 3:
							cItem.ForeColor = Color.LimeGreen;
							break;
						case 4:
							cItem.ForeColor = Color.Blue;
							break;
						case 5:
							cItem.ForeColor = Color.Aqua;
							break;
						case 6:
							cItem.ForeColor = Color.Magenta;
							break;
						case 7:
							cItem.ForeColor = Color.NavajoWhite;
							break;
						case 8:
							cItem.ForeColor = Color.OrangeRed;
							break;
						case 9:
							cItem.ForeColor = Color.DarkRed;
							break;
						default:
							cItem.ForeColor = Color.DarkGray;
							break;
						}
						items_cks.Add(cItem.getKey(), cItem);
						if (!item_types.Contains(cItem.getType()))
						{
							CBItem item = new CBItem(getItemTypeName(cItem.getType()), cItem.getType());
							item_types.Add(cItem.getType());
							list.Add(item);
						}
					}
				}
				list.Sort(delegate(CBItem p1, CBItem p2)
				{
					int num3 = int.Parse((string)p1.getValue());
					int value = int.Parse((string)p2.getValue());
					return num3.CompareTo(value);
				});
				foreach (CBItem item2 in list)
				{
					cb_item_type.Items.Add(item2);
				}
			}
			GetDate("Item_Date", presetitemDate, -1);
			GetDate("ItemPower_Date", itemPowerDate, -1);
			GetDate("Cricket_Date", cricketDate, -1);
			GetDate("Massage_Date", massageDate, -1);
			string[] array3 = massageDate[301][0].Split('|');
			int num2 = array3.Length;
			dt_202.Items.Clear();
			dt_203.Items.Clear();
			for (int j = 0; j < num2; j++)
			{
				actor_hobbys.Add(j, new CBItem(array3[j], j));
				dt_202.Items.Add(actor_hobbys[j]);
				actor_abhors.Add(j, new CBItem(array3[j], j));
				dt_203.Items.Add(actor_abhors[j]);
			}
			GetDate("ActorSurname_Date", actorSurnameDate, -1);
			GetDate("HomePlace_Date", basehomePlaceDate, -1);
			GetDate("PartWorldMap_Date", partWorldMapDate, -1);
			GetDate("GongFa_Date", gongFaDate, -1);
		}

		private void loadBuildingIds(bool isTW, string str)
		{
			building_ids.Items.Clear();
			building_ids.SelectedItem = null;
			foreach (int key in basehomePlaceDate.Keys)
			{
				if (!((key <= 1024 && key >= 1002) & isTW) && !((key >= 30001) & isTW) && ("".Equals(str) || basehomePlaceDate[key][0].Contains(str)))
				{
					CBItem cBItem = new CBItem(basehomePlaceDate[key][0], key);
					building_ids.Items.Add(cBItem);
				}
			}
		}

		private void tx_CheckedChanged(object sender, EventArgs e)
		{
			CTXCK cTXCK = sender as CTXCK;
			dt_101.Text = dt_101.Text.Replace("|" + cTXCK.getId() + "|", "|");
			dt_101.Text = dt_101.Text.Replace("||", "");
			if (dt_101.Text.StartsWith(cTXCK.getId() + "|"))
			{
				dt_101.Text = dt_101.Text.Substring(cTXCK.getId().Length + 1);
			}
			if (dt_101.Text.EndsWith("|" + cTXCK.getId()))
			{
				dt_101.Text = dt_101.Text.Substring(0, dt_101.Text.Length - cTXCK.getId().Length - 1);
			}
			if (dt_101.Text.Equals(cTXCK.getId()))
			{
				dt_101.Text = "";
			}
			dt_101.Text = dt_101.Text.Trim('|');
			if (cTXCK.Checked)
			{
				TextBox textBox = dt_101;
				textBox.Text = textBox.Text + "|" + cTXCK.getId();
			}
			dt_101.Text = dt_101.Text.Trim('|');
		}

		private void loadSetting()
		{
			loadActorFeature();
		}

		public Form1()
		{
			InitializeComponent();
			loadSetting();
			loadItems();
		}

		private void saveLastPath(string path)
		{
			StreamWriter streamWriter = File.CreateText(cfgpath);
			streamWriter.Write(path);
			streamWriter.Flush();
			streamWriter.Close();
		}

		private void loadLastPath()
		{
			if (File.Exists(cfgpath))
			{
				StreamReader streamReader = File.OpenText(cfgpath);
				path = streamReader.ReadToEnd();
				streamReader.Close();
			}
		}

		private void openToolStripMenuItem_Click(object sender, EventArgs e)
		{
			FolderBrowserDialog folderBrowserDialog = new FolderBrowserDialog();
			folderBrowserDialog.ShowNewFolderButton = false;
			folderBrowserDialog.Description = "请选择文件路径";
			if (path != null && !path.Equals(""))
			{
				folderBrowserDialog.SelectedPath = path;
			}
			if (folderBrowserDialog.ShowDialog() == DialogResult.OK)
			{
				path = folderBrowserDialog.SelectedPath;
				sv = null;
				home = null;
				gs = null;
				if (File.Exists(path + "\\TW_Save_Date_0.tw"))
				{
					loadSaveDate(path + "\\TW_Save_Date_0.tw");
					if (File.Exists(path + "\\TW_Save_Date_2.tw"))
					{
						home = LoadHomeDate(path + "\\TW_Save_Date_2.tw");
					}
					if (sv == null)
					{
						tabControl1.Enabled = false;
					}
					else
					{
						tabControl1.Enabled = true;
					}
					building_changed = false;
					loadBuildings();
					if (File.Exists(path + "\\TW_Save_Date_1.tw"))
					{
						gs = LoadGameSetting(path + "\\TW_Save_Date_1.tw");
						loadGameSettings();
					}
					saveLastPath(path);
				}
			}
		}

		private void loadGameSettings()
		{
			homeTypId.Text = string.Concat(gs._homeTypId);
			ageTime.Text = string.Concat(gs._ageTime);
			enemyBorn.Text = string.Concat(gs._enemyBorn);
			enemySize.Text = string.Concat(gs._enemySize);
			xxLevel.Text = string.Concat(gs._xxLevel);
			worldResource.Text = string.Concat(gs._worldResource);
			randomHeir.Text = string.Concat(gs._randomHeir);
			birthWorldId.Text = string.Concat(gs._birthWorldId);
		}

		private void saveGameSettings()
		{
			if (gs != null)
			{
				gs._homeTypId = int.Parse(homeTypId.Text);
				gs._ageTime = int.Parse(ageTime.Text);
				gs._enemyBorn = int.Parse(enemyBorn.Text);
				gs._enemySize = int.Parse(enemySize.Text);
				gs._xxLevel = int.Parse(xxLevel.Text);
				gs._worldResource = int.Parse(worldResource.Text);
				gs._randomHeir = int.Parse(randomHeir.Text);
				gs._birthWorldId = int.Parse(birthWorldId.Text);
			}
		}

		private void loadBuildings()
		{
			if (partWorldMapDate.ContainsKey(sv._partId))
			{
				mianActor_partId.Text = partWorldMapDate[sv._partId][0];
			}
			else
			{
				mianActor_partId.Text = string.Concat(sv._partId);
			}
			mianActorPlaceId.Text = string.Concat(sv._placeId);
			buildings.Enabled = false;
			partIds.Items.Clear();
			partIds.SelectedItem = null;
			placeIds.Items.Clear();
			placeIds.SelectedItem = null;
			if (home != null)
			{
				foreach (int key in home._homeBuildingsDate.Keys)
				{
					if (partWorldMapDate.ContainsKey(key))
					{
						CBItem cBItem = new CBItem(partWorldMapDate[key][0], key);
						partIds.Items.Add(cBItem);
					}
					else
					{
						CBItem cBItem2 = new CBItem(string.Concat(key), key);
						partIds.Items.Add(cBItem2);
					}
				}
			}
		}

		private void loadSaveDate(string filepath)
		{
			sv = LoadSaveDate(filepath);
			actors_list.Clear();
			foreach (int key2 in sv._actorsDate.Keys)
			{
				if (sv._actorsDate[key2].Keys.Contains(5) && sv._actorsDate[key2].Keys.Contains(0))
				{
					actors_list.Add(new CBItem(key2 + " " + sv._actorsDate[key2][5] + sv._actorsDate[key2][0], key2));
				}
				else if (sv._actorsDate[key2].Keys.Contains(0) && sv._actorsDate[key2].Keys.Contains(29))
				{
					int key = int.Parse(sv._actorsDate[key2][29]);
					actors_list.Add(new CBItem(key2 + " " + actorSurnameDate[key][0] + sv._actorsDate[key2][0], key2));
				}
			}
			actors_list.Sort(delegate(CBItem p1, CBItem p2)
			{
				int num = (int)p1.getValue();
				int value = (int)p2.getValue();
				return num.CompareTo(value);
			});
			pId = sv._mianActorId;
			homeFavorAdd.Text = string.Concat(sv._homeFavorAdd);
			loadSX();
			loadActorsBySearch("");
			ssl_0.Text = string.Concat(sv._storyShopLevel[0]);
			ssl_1.Text = string.Concat(sv._storyShopLevel[1]);
			ssl_2.Text = string.Concat(sv._storyShopLevel[2]);
			ssl_3.Text = string.Concat(sv._storyShopLevel[3]);
			ssl_4.Text = string.Concat(sv._storyShopLevel[4]);
			ssl_5.Text = string.Concat(sv._storyShopLevel[5]);
			ssl_6.Text = string.Concat(sv._storyShopLevel[6]);
			ssm_0.Text = string.Concat(sv._storyShopMoney[0]);
			ssm_1.Text = string.Concat(sv._storyShopMoney[1]);
			ssm_2.Text = string.Concat(sv._storyShopMoney[2]);
			ssm_3.Text = string.Concat(sv._storyShopMoney[3]);
			ssm_4.Text = string.Concat(sv._storyShopMoney[4]);
			ssm_5.Text = string.Concat(sv._storyShopMoney[5]);
			ssm_6.Text = string.Concat(sv._storyShopMoney[6]);
		}

		private void loadActorsBySearch(string search)
		{
			cb_as.Items.Clear();
			cb_as.SelectedItem = null;
			foreach (CBItem item in actors_list)
			{
				if (item.ToString().Contains(search))
				{
					cb_as.Items.Add(item);
				}
			}
		}

		private void saveToolStripMenuItem_Click(object sender, EventArgs e)
		{
			FolderBrowserDialog folderBrowserDialog = new FolderBrowserDialog();
			folderBrowserDialog.ShowNewFolderButton = false;
			folderBrowserDialog.Description = "请选择文件路径";
			if (path != null && !path.Equals(""))
			{
				folderBrowserDialog.SelectedPath = path;
			}
			if (folderBrowserDialog.ShowDialog() == DialogResult.OK)
			{
				path = folderBrowserDialog.SelectedPath;
				if (!btn_savesx.Visible)
				{
					saveSX();
				}
				sv._storyShopLevel[0] = int.Parse(ssl_0.Text);
				sv._storyShopLevel[1] = int.Parse(ssl_1.Text);
				sv._storyShopLevel[2] = int.Parse(ssl_2.Text);
				sv._storyShopLevel[3] = int.Parse(ssl_3.Text);
				sv._storyShopLevel[4] = int.Parse(ssl_4.Text);
				sv._storyShopLevel[5] = int.Parse(ssl_5.Text);
				sv._storyShopLevel[6] = int.Parse(ssl_6.Text);
				sv._storyShopMoney[0] = int.Parse(ssm_0.Text);
				sv._storyShopMoney[1] = int.Parse(ssm_1.Text);
				sv._storyShopMoney[2] = int.Parse(ssm_2.Text);
				sv._storyShopMoney[3] = int.Parse(ssm_3.Text);
				sv._storyShopMoney[4] = int.Parse(ssm_4.Text);
				sv._storyShopMoney[5] = int.Parse(ssm_5.Text);
				sv._storyShopMoney[6] = int.Parse(ssm_6.Text);
				sv._homeFavorAdd = int.Parse(homeFavorAdd.Text);
				if (File.Exists(path + "\\TW_Save_Date_0.tw"))
				{
					string text = ((Application.StartupPath + "\\" + sv._mainActorName + "_" + DateTime.Now.ToString().Replace("/", "_").Replace(":", "_")
						.Replace(" ", "_")) ?? "").Replace("\\\\", "\\");
					Directory.CreateDirectory(text);
					for (int i = 0; i <= 8; i++)
					{
						if (File.Exists(path + "\\TW_Save_Date_" + i + ".tw"))
						{
							File.Copy(path + "\\TW_Save_Date_" + i + ".tw", text + "\\TW_Save_Date_" + i + ".tw", true);
						}
					}
				}
				SetData(path + "\\TW_Save_Date_0.tw", sv);
				if (building_changed)
				{
					SetData(path + "\\TW_Save_Date_2.tw", home);
				}
				saveGameSettings();
				if (gs != null)
				{
					SetData(path + "\\TW_Save_Date_1.tw", gs);
				}
			}
		}

		public string getItemTypeName(string key)
		{
			switch (key)
			{
			case "0":
				return "蛐蛐";
			case "1":
				return "竹木针匣";
			case "2":
				return "金铁针匣";
			case "3":
				return "玉石针匣";
			case "4":
				return "竹木对刺";
			case "5":
				return "金铁对刺";
			case "6":
				return "玉石对刺";
			case "7":
				return "竹木暗器";
			case "8":
				return "金铁暗器";
			case "9":
				return "玉石暗器";
			case "10":
				return "竹木箫笛";
			case "11":
				return "金铁箫笛";
			case "12":
				return "玉石箫笛";
			case "13":
				return "竹木掌套";
			case "14":
				return "金铁掌套";
			case "15":
				return "玉石掌套";
			case "16":
				return "掌套";
			case "17":
				return "竹木短杵";
			case "18":
				return "金铁短杵";
			case "19":
				return "玉石短杵";
			case "20":
				return "竹木浮尘";
			case "21":
				return "浮尘";
			case "22":
				return "竹木长鞭";
			case "23":
				return "长鞭";
			case "24":
				return "竹木剑";
			case "25":
				return "金铁剑";
			case "26":
				return "玉石剑";
			case "27":
				return "竹木刀";
			case "28":
				return "金铁刀";
			case "29":
				return "玉石刀";
			case "30":
				return "竹木棍";
			case "31":
				return "金铁棍";
			case "32":
				return "玉石棍";
			case "33":
				return "竹木琴";
			case "34":
				return "金铁琴";
			case "35":
				return "玉石琴";
			case "36":
				return "竹木宝物";
			case "37":
				return "金铁宝物";
			case "38":
				return "玉石宝物";
			case "39":
				return "宝物";
			case "40":
				return "竹木冠饰";
			case "41":
				return "金铁冠饰";
			case "42":
				return "玉石冠饰";
			case "43":
				return "冠饰";
			case "44":
				return "竹木鞋子";
			case "45":
				return "金铁鞋子";
			case "46":
				return "玉石鞋子";
			case "47":
				return "鞋子";
			case "48":
				return "竹木护甲";
			case "49":
				return "金铁护甲";
			case "50":
				return "玉石护甲";
			case "51":
				return "护甲";
			case "52":
				return "衣着";
			case "53":
				return "代步";
			case "54":
				return "图纸(资源)";
			case "62":
				return "无门派秘籍";
			case "63":
				return "制木工具";
			case "64":
				return "铸造工具";
			case "65":
				return "巧匠工具";
			case "66":
				return "织锦工具";
			case "67":
				return "厨师工具";
			case "68":
				return "制药工具";
			case "70":
				return "木材(制造)";
			case "71":
				return "木材(精制)";
			case "72":
				return "金铁(制造)";
			case "73":
				return "金铁(精制)";
			case "74":
				return "宝石(制造)";
			case "75":
				return "宝石(精制)";
			case "76":
				return "织物(精制)";
			case "77":
				return "织物(制造)";
			case "78":
				return "毒物(制造)";
			case "79":
				return "药材(制造)";
			case "80":
				return "毒器(毒砂)";
			case "81":
				return "毒器(毒霜)";
			case "82":
				return "资源包";
			case "83":
				return "促织罐";
			case "84":
				return "素食";
			case "85":
				return "荤食";
			case "86":
				return "碎片(无法销毁)";
			case "88":
				return "鸣虫";
			case "89":
				return "捕虫网";
			case "101":
				return "木鹞(武器)";
			case "102":
				return "铁鹞(武器)";
			case "103":
				return "令(武器)";
			case "104":
				return "符(武器)";
			case "105":
				return "酒";
			case "149":
				return "坐骑v1";
			case "150":
				return "坐骑v2";
			case "151":
				return "坐骑v3";
			case "152":
				return "坐骑v4";
			case "153":
				return "坐骑v5";
			case "154":
				return "图纸(基建)";
			case "155":
				return "图纸(配套)";
			case "156":
				return "鸭梨";
			case "157":
				return "金柑橘";
			case "158":
				return "朱果+海棠果";
			case "159":
				return "五色葡萄";
			case "160":
				return "荔枝+人参果";
			case "161":
				return "白蟒鳞";
			case "162":
				return "鸾凤羽";
			case "163":
				return "龙背金筋";
			case "164":
				return "金缕蝉衣";
			case "165":
				return "百花锦蛇";
			case "166":
				return "象拔";
			case "167":
				return "黑熊";
			case "168":
				return "玉芦笋";
			case "169":
				return "贡莲";
			case "170":
				return "银杏子";
			case "171":
				return "两头网鲍";
			case "172":
				return "玲珑珊瑚";
			case "173":
				return "鹿茸";
			case "174":
				return "玉露琼浆";
			case "175":
				return "醉芙蓉";
			case "176":
				return "天竺佛座";
			case "177":
				return "梧桐血蛇";
			case "178":
				return "金披蜥蜴";
			case "179":
				return "音律书籍";
			case "180":
				return "奕棋书籍";
			case "181":
				return "诗书书籍";
			case "182":
				return "绘画书籍";
			case "183":
				return "术数书籍";
			case "184":
				return "品鉴书籍";
			case "185":
				return "铸造书籍";
			case "186":
				return "制木书籍";
			case "187":
				return "医术书籍";
			case "188":
				return "毒术书籍";
			case "189":
				return "织锦书籍";
			case "190":
				return "巧匠书籍";
			case "191":
				return "道法书籍";
			case "192":
				return "佛法书籍";
			case "193":
				return "厨艺书籍";
			case "194":
				return "杂学书籍";
			case "195":
				return "内功秘籍";
			case "196":
				return "身法秘籍";
			case "197":
				return "绝技秘籍";
			case "198":
				return "拳掌秘籍";
			case "199":
				return "指法秘籍";
			case "200":
				return "腿法秘籍";
			case "201":
				return "暗器秘籍";
			case "202":
				return "剑法秘籍";
			case "203":
				return "刀法秘籍";
			case "204":
				return "长兵秘籍";
			case "205":
				return "奇门秘籍";
			case "206":
				return "软兵秘籍";
			case "207":
				return "御射秘籍";
			case "208":
				return "乐器秘籍";
			case "209":
				return "血露";
			case "210":
				return "丹药(外伤)v1";
			case "211":
				return "丹药(外伤)v2";
			case "212":
				return "丹药(外伤)v3";
			case "213":
				return "丹药(紊乱)v1";
			case "214":
				return "丹药(紊乱)v2";
			case "215":
				return "丹药(紊乱)v3";
			case "216":
				return "丹药(战斗)v1";
			case "217":
				return "丹药(战斗)v2";
			case "218":
				return "丹药(战斗)v3";
			case "219":
				return "毒药(烈毒)";
			case "220":
				return "毒药(赤毒)";
			case "221":
				return "毒药(腐毒)";
			case "222":
				return "毒药(幻毒)";
			case "223":
				return "毒药(郁毒)";
			case "224":
				return "毒药(寒毒)";
			case "225":
				return "丹药(内伤)v1";
			case "226":
				return "丹药(内伤)v2";
			case "227":
				return "丹药(内伤)v3";
			case "228":
				return "丹药(健康)v1";
			case "229":
				return "丹药(健康)v2";
			case "230":
				return "丹药(健康)v3";
			case "231":
				return "丹药(烈毒)";
			case "232":
				return "丹药(赤毒)";
			case "233":
				return "丹药(腐毒)";
			case "234":
				return "丹药(幻毒)";
			case "235":
				return "丹药(郁毒)";
			case "236":
				return "丹药(寒毒)";
			case "237":
				return "茶";
			case "238":
				return "树枝";
			case "239":
				return "石子";
			default:
				return key;
			}
		}

		public int MakeNewItem(int id, int temporaryId = 0, int bookObbs = 0, int buffObbs = 50, int sBuffObbs = 20)
		{
			int num = 0;
			Dictionary<int, string> value = new Dictionary<int, string>();
			if (temporaryId < 0)
			{
				num = temporaryId;
				sv._itemsDate.Remove(temporaryId);
				sv._itemsChangeDate.Remove(temporaryId);
			}
			else
			{
				do
				{
					sv._newItemId++;
				}
				while (sv._itemsDate.Keys.Contains(sv._newItemId));
				num = sv._newItemId;
			}
			sv._itemsDate.Add(num, value);
			sv._itemsDate[num][999] = id.ToString();
			bool flag = int.Parse(presetitemDate[id][5]) != 36;
			int num2 = ((int.Parse(presetitemDate[id][5]) == 34 || int.Parse(presetitemDate[id][5]) == 35) && int.Parse(presetitemDate[id][6]) != 1) ? 20 : 0;
			int num3 = flag ? int.Parse(presetitemDate[id][1]) : 0;
			int num4 = int.Parse(presetitemDate[id][902]);
			int num5;
			if (num4 > 0)
			{
				if (flag)
				{
					num4 = 1 + num4 * GetRandomByGuid(50, 101) / 100;
				}
				sv._itemsDate[num][902] = num4.ToString();
				sv._itemsDate[num][901] = num4.ToString();
			}
			else if (num4 < 0)
			{
				Dictionary<int, string> dictionary = sv._itemsDate[num];
				num5 = Math.Abs(num4);
				dictionary[902] = num5.ToString();
				Dictionary<int, string> dictionary2 = sv._itemsDate[num];
				num5 = Math.Abs(num4);
				dictionary2[901] = num5.ToString();
			}
			switch (num3)
			{
			case 1:
			{
				if (int.Parse(presetitemDate[id][606]) > 0)
				{
					string text = "";
					List<string> list2 = new List<string>(presetitemDate[id][7].Split('|'));
					int count = list2.Count;
					for (int i = 0; i < count; i++)
					{
						int randomByGuid = GetRandomByGuid(0, list2.Count);
						text += ((i != 0) ? ("|" + list2[randomByGuid]) : list2[randomByGuid]);
						list2.Remove(list2[randomByGuid]);
					}
					sv._itemsDate[num][7] = text;
				}
				if (GetRandomByGuid(0, 100) < buffObbs)
				{
					int num6 = GetRandomByGuid(0, 3) + 1;
					if (buffObbs == 999)
					{
						num6 *= 100;
					}
					sv._itemsDate[num][505] = num6.ToString();
				}
				int num7 = int.Parse(presetitemDate[id][504]);
				if (num7 != 0 && GetRandomByGuid(0, 100) < sBuffObbs)
				{
					List<int> list3 = new List<int>
					{
						2,
						3,
						4,
						5,
						6,
						7,
						8,
						9,
						10,
						11,
						12,
						13,
						101,
						102,
						103,
						104,
						105,
						106,
						107,
						108,
						109,
						110,
						111,
						112,
						401,
						402,
						403,
						404,
						407
					};
					if (num7 < 0)
					{
						list3.Add(Math.Abs(num7));
					}
					int num8 = int.Parse(presetitemDate[id][506]);
					if (num8 != 0)
					{
						list3.Add(209 + num8);
					}
					ChangeNewItemSPower(id, num, list3[GetRandomByGuid(0, list3.Count)]);
				}
				break;
			}
			case 2:
				if (GetRandomByGuid(0, 100) < buffObbs)
				{
					Dictionary<int, string> dictionary3 = sv._itemsDate[num];
					int key = 51361 + GetRandomByGuid(0, 6);
					num5 = Math.Max(int.Parse(presetitemDate[id][8]) / 2, 1) * ((buffObbs != 999) ? 5 : 10);
					dictionary3[key] = num5.ToString();
				}
				if (GetRandomByGuid(0, 100) < sBuffObbs)
				{
					List<int> list4 = new List<int>
					{
						401,
						402,
						405,
						406,
						407
					};
					ChangeNewItemSPower(id, num, list4[GetRandomByGuid(0, list4.Count)]);
				}
				break;
			case 3:
				num2 = ((buffObbs != 999) ? 5 : 10);
				if (GetRandomByGuid(0, 100) < sBuffObbs)
				{
					List<int> list = new List<int>
					{
						407
					};
					ChangeNewItemSPower(id, num, list[GetRandomByGuid(0, list.Count)]);
				}
				break;
			}
			if (num2 != 0 && GetRandomByGuid(0, 100) < buffObbs)
			{
				if (GetRandomByGuid(0, 100) < 50)
				{
					Dictionary<int, string> dictionary4 = sv._itemsDate[num];
					int key2 = 50501 + GetRandomByGuid(0, 16);
					num5 = Math.Max(int.Parse(presetitemDate[id][8]) / 2, 1) * num2;
					dictionary4[key2] = num5.ToString();
				}
				else
				{
					Dictionary<int, string> dictionary5 = sv._itemsDate[num];
					int key3 = 50601 + GetRandomByGuid(0, 14);
					num5 = Math.Max(int.Parse(presetitemDate[id][8]) / 2, 1) * num2;
					dictionary5[key3] = num5.ToString();
				}
			}
			if (int.Parse(presetitemDate[id][31]) > 0)
			{
				SetBookPage(num, bookObbs, 0);
			}
			return num;
		}

		public void MakeQuqu(int itemId, int colorId, int partId)
		{
			sv._itemsDate[itemId][2002] = colorId.ToString();
			sv._itemsDate[itemId][2003] = partId.ToString();
			int num = int.Parse(GetItemDate(itemId, 8, true)) + GetQuquDate(itemId, 11, true) / 20;
			num += GetRandomByGuid(-(num * 35 / 100), num * 35 / 100 + 1);
			sv._itemsDate[itemId][902] = num.ToString();
			sv._itemsDate[itemId][901] = num.ToString();
			sv._itemsDate[itemId][2007] = (GetQuquDate(itemId, 98, true) * GetRandomByGuid(0, 21) / 100).ToString();
			for (int i = 0; i < Math.Min(3, num - 1); i++)
			{
				if (GetRandomByGuid(0, 100) < 10)
				{
					ChangeItemHp(pId, itemId, -1, 0, true);
					QuquAddInjurys(itemId);
				}
			}
		}

		public void QuquAddInjurys(int itemId)
		{
			string itemDate = GetItemDate(itemId, 2004, true);
			if (GetRandomByGuid(0, 100) < 35)
			{
				itemDate = itemDate + "|" + (21 + GetRandomByGuid(0, 3));
				sv._itemsDate[itemId][2004] = itemDate;
			}
			else
			{
				itemDate = itemDate + "|" + (11 + GetRandomByGuid(0, 2));
				sv._itemsDate[itemId][2004] = itemDate;
			}
		}

		public int Clamp(int v, int min, int max)
		{
			if (v >= min)
			{
				if (v <= max)
				{
					return v;
				}
				return max;
			}
			return min;
		}

		public void ChangeItemHp(int actorId, int itemId, int hpValue, int maxHpValue = 0, bool removeItem = true)
		{
			int num = Math.Max(0, int.Parse(GetItemDate(itemId, 902, true)) + maxHpValue);
			int num2 = Clamp(int.Parse(GetItemDate(itemId, 901, true)) + hpValue, 1, num);
			if (sv._itemsDate.ContainsKey(itemId))
			{
				sv._itemsDate[itemId][901] = num2.ToString();
				sv._itemsDate[itemId][902] = num.ToString();
				if (num2 <= 0 || num <= 0)
				{
					int.Parse(GetItemDate(itemId, 903, true));
				}
			}
		}

		public int MakRandQuqu(int level)
		{
			int num = Clamp(level, 1, 9);
			List<int> list = new List<int>(cricketDate.Keys);
			int num2 = num;
			int num3 = num;
			int num4 = 0;
			int num5 = 0;
			int partId = 0;
			List<int> list2 = new List<int>();
			int num6 = 0;
			if (num2 >= 8)
			{
				num3 = 0;
				List<int> list3 = new List<int>();
				for (int i = 0; i < list.Count; i++)
				{
					int num7 = list[i];
					if (int.Parse(cricketDate[num7][1]) == num2)
					{
						int num8 = int.Parse(cricketDate[num7][6]);
						int num9 = int.Parse(cricketDate[num7][21]) + int.Parse(cricketDate[num7][22]) + int.Parse(cricketDate[num7][23]);
						if (num9 > num6)
						{
							list2.Clear();
							num6 = num9;
						}
						if (num9 == num6)
						{
							list2.Add(num7);
						}
						for (int j = 0; j < num8; j++)
						{
							list3.Add(num7);
						}
					}
				}
				num4 = list3[GetRandomByGuid(0, list3.Count)];
				if (list2.Count > 0 && ck_superQuqu.Checked)
				{
					num4 = list2[GetRandomByGuid(0, list2.Count)];
				}
			}
			else if (num2 >= 7)
			{
				num2 = Clamp(num2 - GetRandomByGuid(0, num2 / 2), 1, 6);
			}
			else if (GetRandomByGuid(0, 100) < 75)
			{
				num3 = Clamp(num3 - GetRandomByGuid(0, num3 / 2), 1, 6);
			}
			else
			{
				num2 = Clamp(num2 - GetRandomByGuid(0, num2 / 2), 1, 6);
			}
			if (num4 == 0)
			{
				List<int> list4 = new List<int>();
				for (int k = 0; k < list.Count; k++)
				{
					int num10 = list[k];
					if (int.Parse(cricketDate[num10][3]) != 0 && int.Parse(cricketDate[num10][1]) == num2)
					{
						for (int l = 0; l < int.Parse(cricketDate[num10][6]); l++)
						{
							list4.Add(num10);
						}
					}
				}
				num5 = list4[GetRandomByGuid(0, list4.Count)];
			}
			if (num3 > 0)
			{
				List<int> list5 = new List<int>();
				for (int m = 0; m < list.Count; m++)
				{
					int num11 = list[m];
					if (int.Parse(cricketDate[num11][4]) == 1 && int.Parse(cricketDate[num11][1]) == num3)
					{
						for (int n = 0; n < int.Parse(cricketDate[num11][6]); n++)
						{
							list5.Add(num11);
						}
					}
				}
				partId = list5[GetRandomByGuid(0, list5.Count)];
			}
			int num12 = MakeNewItem(10000, 0, 0, 50, 20);
			MakeQuqu(num12, (num4 <= 0) ? num5 : num4, partId);
			return num12;
		}

		private string SetItemName(int id)
		{
			int num = int.Parse(GetItemDate(id, 8, true));
			if (num < 1)
			{
				num = 1;
			}
			if (num > 9)
			{
				num = 9;
			}
			int key = (int.Parse(GetItemDate(id, 2001, true)) == 1) ? 1 : 2;
			return "\n" + SetColoer(20001 + num, massageDate[21][0].Split('|')[0] + massageDate[8001][key].Split('|')[num - 1] + massageDate[21][0].Split('|')[1], false);
		}

		public string SetColoer(int coloer, string text, bool noChange = false)
		{
			if (noChange)
			{
				return text;
			}
			return $"{massageDate[coloer][0]}{text}</color>";
		}

		public int GetQuquPrestige(int id)
		{
			int num = int.Parse(GetItemDate(id, 2006, true));
			int num2 = int.Parse(GetItemDate(id, 2009, true));
			int num3 = int.Parse(cricketDate[int.Parse(GetItemDate(id, 2010, true))][1]);
			int num4 = int.Parse(cricketDate[int.Parse(GetItemDate(id, 2011, true))][1]);
			int num5 = (num3 < num4) ? num4 : num3;
			return Math.Max(num - num2, 0) * num5 * ((num2 > 0) ? 50 : 100) / 50;
		}

		public int GetQuquDate(int itemId, int index, bool injurys = true)
		{
			int num = 0;
			int key = int.Parse(GetItemDate(itemId, 2002, true));
			int num2 = int.Parse(GetItemDate(itemId, 2003, true));
			int num3 = int.Parse(cricketDate[key][index]);
			int num4 = (num2 > 0) ? int.Parse(cricketDate[num2][index]) : 0;
			switch (index)
			{
			case 1:
				num = ((num3 < num4) ? num4 : num3);
				break;
			case 94:
				num = ((num3 < num4) ? num4 : num3) * (100 + GetQuquPrestige(itemId) / 2) / 500 * 5;
				break;
			case 95:
				num = ((num3 < num4) ? num4 : num3) * (100 + GetQuquPrestige(itemId)) / 500 * 5;
				break;
			default:
				num = num3 + num4;
				break;
			}
			if (injurys)
			{
				string[] array = GetItemDate(itemId, 2004, true).Split('|');
				for (int i = 0; i < array.Length; i++)
				{
					int num5 = int.Parse(array[i]);
					if (num5 != 0 && num5 == index)
					{
						num = Math.Max(num * 30 / 100, num - ((index != 11 && index != 12) ? 1 : 5));
					}
				}
			}
			return num;
		}

		public string GetItemDate(int id, int index, bool otherMassage = true)
		{
			string text = (!presetitemDate.ContainsKey(id) || !presetitemDate[id].ContainsKey(index)) ? "0" : presetitemDate[id][index];
			int key = presetitemDate.ContainsKey(id) ? id : 0;
			int num2;
			if (sv._itemsDate.ContainsKey(id))
			{
				if ((index > 50000 || hp0NoGetAttr.Contains(index)) && int.Parse(GetItemDate(id, 901, true)) <= 0)
				{
					return "0";
				}
				key = int.Parse(sv._itemsDate[id][999]);
				if (sv._itemsDate[id].ContainsKey(index))
				{
					text = sv._itemsDate[id][index];
				}
				else
				{
					if (!presetitemDate[key].ContainsKey(index))
					{
						return "0";
					}
					text = presetitemDate[key][index];
				}
				if (int.Parse(presetitemDate[key][2001]) == 1)
				{
					int key2 = (!sv._itemsDate[id].ContainsKey(2002)) ? int.Parse(presetitemDate[key][2002]) : int.Parse(sv._itemsDate[id][2002]);
					int num = (!sv._itemsDate[id].ContainsKey(2003)) ? int.Parse(presetitemDate[key][2003]) : int.Parse(sv._itemsDate[id][2003]);
					switch (index)
					{
					case 0:
						text = ((num <= 0) ? cricketDate[key2][0] : ((int.Parse(cricketDate[key2][2]) < int.Parse(cricketDate[num][2])) ? (cricketDate[num][0] + cricketDate[key2][0].Split('|')[1]) : (cricketDate[key2][0].Split('|')[0] + cricketDate[num][0])));
						break;
					case 8:
						num2 = GetQuquDate(id, 1, true);
						text = num2.ToString();
						break;
					case 98:
						text = cricketDate[key2][97];
						break;
					case 99:
						text = ((num <= 0) ? cricketDate[key2][99] : cricketDate[num][99]);
						break;
					case 904:
						num2 = GetQuquDate(id, 94, true);
						text = num2.ToString();
						break;
					case 905:
						num2 = GetQuquDate(id, 95, true);
						text = num2.ToString();
						break;
					case 52001:
						num2 = GetQuquDate(id, index, true);
						text = num2.ToString();
						break;
					case 52002:
						num2 = GetQuquDate(id, index, true);
						text = num2.ToString();
						break;
					case 52003:
						num2 = GetQuquDate(id, index, true);
						text = num2.ToString();
						break;
					case 52004:
						num2 = GetQuquDate(id, index, true);
						text = num2.ToString();
						break;
					case 52005:
						num2 = GetQuquDate(id, index, true);
						text = num2.ToString();
						break;
					case 52006:
						num2 = GetQuquDate(id, index, true);
						text = num2.ToString();
						break;
					case 52007:
						num2 = GetQuquDate(id, index, true);
						text = num2.ToString();
						break;
					}
				}
			}
			if (otherMassage)
			{
				switch (index)
				{
				case 0:
					text += SetItemName(id);
					break;
				case 801:
					if (int.Parse(GetItemDate(id, 505, true)) == 1)
					{
						num2 = int.Parse(text) + int.Parse(presetitemDate[key][8]) * 5;
						text = num2.ToString();
					}
					if (int.Parse(GetItemDate(id, 505, true)) == 100)
					{
						num2 = int.Parse(text) + int.Parse(presetitemDate[key][8]) * 10;
						text = num2.ToString();
					}
					break;
				case 802:
					if (int.Parse(GetItemDate(id, 505, true)) == 2)
					{
						num2 = int.Parse(text) + int.Parse(presetitemDate[key][8]) * 5;
						text = num2.ToString();
					}
					if (int.Parse(GetItemDate(id, 505, true)) == 200)
					{
						num2 = int.Parse(text) + int.Parse(presetitemDate[key][8]) * 10;
						text = num2.ToString();
					}
					break;
				case 803:
					if (int.Parse(GetItemDate(id, 505, true)) == 3)
					{
						num2 = int.Parse(text) + int.Parse(presetitemDate[key][8]) * 5;
						text = num2.ToString();
					}
					if (int.Parse(GetItemDate(id, 505, true)) == 300)
					{
						num2 = int.Parse(text) + int.Parse(presetitemDate[key][8]) * 10;
						text = num2.ToString();
					}
					break;
				case 804:
					if (int.Parse(GetItemDate(id, 505, true)) == 4)
					{
						num2 = int.Parse(text) + int.Parse(presetitemDate[key][8]) * 5;
						text = num2.ToString();
					}
					if (int.Parse(GetItemDate(id, 505, true)) == 400)
					{
						num2 = int.Parse(text) + int.Parse(presetitemDate[key][8]) * 10;
						text = num2.ToString();
					}
					break;
				}
			}
			if (sv._itemsChangeDate.ContainsKey(id) && sv._itemsChangeDate[id].ContainsKey(index))
			{
				num2 = int.Parse(text) + sv._itemsChangeDate[id][index] / 10;
				text = num2.ToString();
			}
			if (hpDownAttrDown.Contains(index))
			{
				int num3 = int.Parse(GetItemDate(id, 901, true));
				int num4 = int.Parse(GetItemDate(id, 902, true));
				if (num3 < num4)
				{
					int num5 = int.Parse(text);
					num2 = ((num3 > 0) ? (num5 - num5 * 50 / 100 * (100 - num3 * 100 / num4) / 100) : 0);
					text = num2.ToString();
				}
			}
			if (index == 501 && int.Parse(presetitemDate[key][501]) != 0)
			{
				num2 = Math.Max(int.Parse(text), 10);
				text = num2.ToString();
			}
			return text;
		}

		private void ChangeNewItemSPower(int baseItemId, int itemId, int powerId)
		{
			int num = int.Parse(itemPowerDate[powerId][902]);
			int num2 = int.Parse(itemPowerDate[powerId][501]);
			int num3 = int.Parse(itemPowerDate[powerId][601]);
			int num4 = int.Parse(itemPowerDate[powerId][603]);
			int num5 = int.Parse(itemPowerDate[powerId][904]);
			int num6 = int.Parse(itemPowerDate[powerId][905]);
			if (num != 0)
			{
				int num7 = Math.Max(int.Parse(GetItemDate(itemId, 902, true)) * (100 + num) / 100, 1);
				sv._itemsDate[itemId][901] = num7.ToString();
				sv._itemsDate[itemId][902] = num7.ToString();
			}
			int num8;
			if (num2 != 0)
			{
				Dictionary<int, string> dictionary = sv._itemsDate[itemId];
				num8 = Math.Max(int.Parse(presetitemDate[baseItemId][501]) * (100 + num2) / 100, 1);
				dictionary[501] = num8.ToString();
			}
			if (num3 != 0)
			{
				Dictionary<int, string> dictionary2 = sv._itemsDate[itemId];
				num8 = Math.Max(int.Parse(presetitemDate[baseItemId][601]) * (100 + num3) / 100, 1);
				dictionary2[601] = num8.ToString();
			}
			if (num4 != 0)
			{
				Dictionary<int, string> dictionary3 = sv._itemsDate[itemId];
				num8 = Math.Max(int.Parse(presetitemDate[baseItemId][603]) * (100 + num4) / 100, 1);
				dictionary3[603] = num8.ToString();
			}
			if (num5 != 0)
			{
				Dictionary<int, string> dictionary4 = sv._itemsDate[itemId];
				num8 = Math.Max(int.Parse(presetitemDate[baseItemId][904]) * (100 + num5) / 100, 1);
				dictionary4[904] = num8.ToString();
			}
			if (num6 != 0)
			{
				Dictionary<int, string> dictionary5 = sv._itemsDate[itemId];
				num8 = Math.Max(int.Parse(presetitemDate[baseItemId][905]) * (100 + num6) / 100, 1);
				dictionary5[905] = num8.ToString();
			}
			sv._itemsDate[itemId][504] = powerId.ToString();
		}

		public void SetBookPage(int id, int bookObbs = 0, int pageSize = 0)
		{
			int[] array = new int[10];
			if (pageSize > 0)
			{
				int num = 0;
				int num2 = 10;
				if (GetRandomByGuid(0, 100) < 90 + bookObbs)
				{
					pageSize--;
					num = 1;
					num2 = 9;
					array[0] = 1;
				}
				if (pageSize > 0)
				{
					List<int> list = new List<int>();
					for (int i = 0; i < num2; i++)
					{
						list.Add(0);
					}
					for (int j = 0; j < pageSize; j++)
					{
						list[j] = 1;
					}
					for (int k = num; k < 10; k++)
					{
						int randomByGuid = GetRandomByGuid(0, list.Count);
						array[k] = list[randomByGuid];
						list.Remove(list[randomByGuid]);
					}
				}
			}
			else
			{
				if (GetRandomByGuid(0, 100) < 90 + bookObbs)
				{
					array[0] = 1;
				}
				else
				{
					array[GetRandomByGuid(0, array.Length)] = 1;
				}
				for (int l = 0; l < 10; l++)
				{
					if (GetRandomByGuid(0, 100) < 60 + bookObbs)
					{
						array[l] = 1;
					}
				}
			}
			sv._itemsDate[id][33] = $"{array[0]}|{array[1]}|{array[2]}|{array[3]}|{array[4]}|{array[5]}|{array[6]}|{array[7]}|{array[8]}|{array[9]}";
		}

		private void Form1_Load(object sender, EventArgs e)
		{
			setEditable(true);
			loadLastPath();
			buildingBoxs.Clear();
			for (int i = 0; i < 169; i++)
			{
				BuildingBox buildingBox = new BuildingBox(i);
				buildings.Controls.Add(buildingBox);
				buildingBox.Size = new Size(40, 40);
				buildingBox.Location = new Point(i % 13 * 40, i / 13 * 40);
				buildingBox.BorderStyle = BorderStyle.FixedSingle;
				buildingBox.Click += BuildingBox_Click;
				buildingBoxs.Add(i, buildingBox);
			}
			resize();
		}

		private void BuildingBox_Click(object sender, EventArgs e)
		{
			BuildingBox buildingBox = sender as BuildingBox;
			if (buildingBox != selectBuildBox)
			{
				if (selectBuildBox != null)
				{
					selectBuildBox.Checked = false;
				}
				selectBuildBox = buildingBox;
				selectBuildBox.Checked = true;
				if (home != null)
				{
					int[] array = home._homeBuildingsDate[p_partId][p_placeId][selectBuildBox.getIndex()];
					building_index.Text = string.Concat(selectBuildBox.getIndex());
					building_id.Text = string.Concat(array[0]);
					building_level.Text = string.Concat(array[1]);
					building_type.Text = string.Concat(array[2]);
					list_building_value.Items.Clear();
					int[] array2 = array;
					foreach (int num in array2)
					{
						list_building_value.Items.Add(num);
					}
					foreach (object item in building_ids.Items)
					{
						int num2 = (int)((CBItem)item).getValue();
						if (array[0] == num2)
						{
							building_ids.SelectedItem = item;
							break;
						}
					}
				}
			}
		}

		private void btn_random_Click(object sender, EventArgs e)
		{
			random = new Random(GetRandomSeed());
			dt_61.Text = (ck_61.Checked ? getRandom(65, 81) : getRandom(20, 66));
			dt_62.Text = (ck_62.Checked ? getRandom(65, 81) : getRandom(20, 66));
			dt_63.Text = (ck_63.Checked ? getRandom(65, 81) : getRandom(20, 66));
			dt_64.Text = (ck_64.Checked ? getRandom(65, 81) : getRandom(20, 66));
			dt_65.Text = (ck_65.Checked ? getRandom(65, 81) : getRandom(20, 66));
			dt_66.Text = (ck_66.Checked ? getRandom(65, 81) : getRandom(20, 66));
			random.Next(0, 101);
			dt_501.Text = (ck_qqsh.Checked ? getRandom(75, 100) : getRandom(0, 100));
			dt_502.Text = (ck_qqsh.Checked ? getRandom(75, 100) : getRandom(0, 100));
			dt_503.Text = (ck_qqsh.Checked ? getRandom(75, 100) : getRandom(0, 100));
			dt_504.Text = (ck_qqsh.Checked ? getRandom(75, 100) : getRandom(0, 100));
			dt_505.Text = (ck_yxxp.Checked ? getRandom(75, 100) : getRandom(0, 100));
			dt_506.Text = (ck_yrzr.Checked ? getRandom(75, 100) : getRandom(0, 100));
			dt_507.Text = (ck_tgkw.Checked ? getRandom(75, 100) : getRandom(0, 100));
			dt_508.Text = (ck_tgkw.Checked ? getRandom(75, 100) : getRandom(0, 100));
			dt_509.Text = (ck_yxxp.Checked ? getRandom(75, 100) : getRandom(0, 100));
			dt_510.Text = (ck_yxxp.Checked ? getRandom(75, 100) : getRandom(0, 100));
			dt_511.Text = (ck_tgkw.Checked ? getRandom(75, 100) : getRandom(0, 100));
			dt_512.Text = (ck_tgkw.Checked ? getRandom(75, 100) : getRandom(0, 100));
			dt_513.Text = (ck_yrzr.Checked ? getRandom(75, 100) : getRandom(0, 100));
			dt_514.Text = (ck_yrzr.Checked ? getRandom(75, 100) : getRandom(0, 100));
			dt_515.Text = (ck_yrzr.Checked ? getRandom(75, 100) : getRandom(0, 100));
			dt_516.Text = (ck_yxxp.Checked ? getRandom(75, 100) : getRandom(0, 100));
			dt_601.Text = (ck_trzh.Checked ? getRandom(75, 100) : getRandom(0, 100));
			dt_602.Text = (ck_trzh.Checked ? getRandom(75, 100) : getRandom(0, 100));
			dt_603.Text = (ck_trzh.Checked ? getRandom(75, 100) : getRandom(0, 100));
			dt_604.Text = getRandom(0, 100);
			dt_605.Text = getRandom(0, 100);
			dt_606.Text = getRandom(0, 100);
			dt_607.Text = getRandom(0, 100);
			dt_608.Text = getRandom(0, 100);
			dt_609.Text = getRandom(0, 100);
			dt_610.Text = getRandom(0, 100);
			dt_611.Text = getRandom(0, 100);
			dt_612.Text = getRandom(0, 100);
			dt_613.Text = getRandom(0, 100);
			dt_614.Text = getRandom(0, 100);
		}

		private void label28_DoubleClick(object sender, EventArgs e)
		{
			if (cn > 3)
			{
				setEditable(true);
			}
			else
			{
				cn++;
			}
		}

		private void checkBox1_CheckedChanged(object sender, EventArgs e)
		{
		}

		private void btn_savesx_Click(object sender, EventArgs e)
		{
			saveSX();
		}

		private void search_Click(object sender, EventArgs e)
		{
			loadItemsBySearch((cb_item_type.SelectedItem != null) ? ((string)((CBItem)cb_item_type.SelectedItem).getValue()) : "", item_name_for_search.Text);
		}

		private void list_items_ItemSelectionChanged(object sender, ListViewItemSelectionChangedEventArgs e)
		{
			if (e.IsSelected)
			{
				CItem cItem = e.Item as CItem;
				item_name.Text = cItem.getName();
				item_info.Text = cItem.getAllInfo()[5];
				tb_item_id.Text = cItem.getKey();
				int num = int.Parse(tb_item_id.Text);
				bool num2 = int.Parse(presetitemDate[num][5]) != 36;
				int num3 = ((int.Parse(presetitemDate[num][5]) == 34 || int.Parse(presetitemDate[num][5]) == 35) && int.Parse(presetitemDate[num][6]) != 1) ? 20 : 0;
				int num4 = num2 ? int.Parse(presetitemDate[num][1]) : 0;
				int num5 = int.Parse(presetitemDate[num][902]);
				if (cItem.getKey().Equals("10000"))
				{
					lb_item_num.Text = "品级";
					tb_item_num.ReadOnly = false;
					ck_superQuqu.Visible = true;
					tb_item_num.Text = "1";
				}
				else
				{
					lb_item_num.Text = "数量";
					ck_superQuqu.Visible = false;
				}
				if (int.Parse(presetitemDate[num][31]) > 0)
				{
					tb_item_num.ReadOnly = true;
					tb_item_num.Text = "1";
					ck_all_page.Visible = true;
				}
				else
				{
					tb_item_num.ReadOnly = false;
					ck_all_page.Visible = false;
				}
				if (junk_array.Contains(num))
				{
					ck_junk.Visible = true;
				}
				else
				{
					ck_junk.Visible = false;
				}
				if (num4 == 3 || num4 == 2 || num4 == 1)
				{
					ck_superJunk.Visible = true;
				}
				else
				{
					ck_superJunk.Visible = false;
				}
				if (num4 == 1 && int.Parse(presetitemDate[num][606]) > 0)
				{
					string text = "";
					List<string> list = new List<string>(presetitemDate[num][7].Split('|'));
					int count = list.Count;
					for (int i = 0; i < count; i++)
					{
						int randomByGuid = GetRandomByGuid(0, list.Count);
						text += ((i != 0) ? ("|" + list[randomByGuid]) : list[randomByGuid]);
						list.Remove(list[randomByGuid]);
					}
					item_7.Text = text;
					item_7.Visible = true;
					tb_item_num.ReadOnly = false;
					label65.Visible = true;
					tb_item_num.Text = "1";
				}
				else
				{
					item_7.Visible = false;
					label65.Visible = false;
				}
				if (num4 == 3 || num4 == 2 || num4 == 1)
				{
					tb_item_num.Text = "1";
					lb_item_num.Text = "传说翻倍";
				}
				lb_num2.Text = string.Concat(num3);
				lb_num3.Text = string.Concat(num4);
				lb_num4.Text = string.Concat(num5);
			}
		}

		private void item_add_Click(object sender, EventArgs e)
		{
			if (!tb_item_id.Text.Equals(""))
			{
				int num = int.Parse(tb_item_id.Text);
				int num2 = int.Parse(tb_item_num.Text);
				int num3 = int.Parse(tb_item_num.Text);
				if (num == 10000)
				{
					int num4 = MakRandQuqu(num2);
					ChangeItemHp(pId, num4, -(int.Parse(GetItemDate(num4, 901, true)) / 2), 0, true);
					sv._actorItemsDate[pId].Add(num4, 1);
				}
				else
				{
					int num5 = (int.Parse(presetitemDate[num][5]) != 36) ? int.Parse(presetitemDate[num][1]) : 0;
					if (num5 == 3 || num5 == 2 || num5 == 1)
					{
						num2 = 1;
					}
					int item = GetItem(pId, num, num2, true, -1, ck_all_page.Checked ? 41 : 0, 100);
					if (ck_superJunk.Visible && ck_superJunk.Checked)
					{
						if (ck_junk.Visible && ck_junk.Checked)
						{
							ChangItemDate(item, 92, 1800, false);
							ChangItemDate(item, 93, 3600, false);
							ChangItemDate(item, 907, 5000, false);
							ChangItemDate(item, 908, 100000, false);
						}
						int num6;
						if (num5 == 3 && num3 > 0)
						{
							for (int i = 50501; i <= 50516; i++)
							{
								Dictionary<int, string> dictionary = sv._itemsDate[item];
								int key = i;
								num6 = Math.Max(int.Parse(presetitemDate[num][8]) / 2, 1) * 10 * num3;
								dictionary[key] = num6.ToString();
							}
							for (int j = 50601; j <= 50614; j++)
							{
								Dictionary<int, string> dictionary2 = sv._itemsDate[item];
								int key2 = j;
								num6 = Math.Max(int.Parse(presetitemDate[num][8]) / 2, 1) * 10 * num3;
								dictionary2[key2] = num6.ToString();
							}
						}
						else if (num5 == 2 && num3 > 0)
						{
							for (int k = 51361; k <= 51366; k++)
							{
								Dictionary<int, string> dictionary3 = sv._itemsDate[item];
								int key3 = k;
								num6 = Math.Max(int.Parse(presetitemDate[num][8]) / 2, 1) * 10 * num3;
								dictionary3[key3] = num6.ToString();
							}
						}
						else if (num5 == 1 && num3 > 0)
						{
							int num7 = GetRandomByGuid(0, 3) + 1;
							num7 *= num3;
							sv._itemsDate[item][505] = num7.ToString();
						}
						ChangeNewItemSPower(num, item, 407);
					}
					else if (ck_junk.Visible && ck_junk.Checked)
					{
						ChangItemDate(item, 92, 900, false);
						ChangItemDate(item, 93, 1800, false);
					}
					if (item_7.Visible)
					{
						sv._itemsDate[item][7] = item_7.Text;
					}
				}
			}
		}

		public void ChangItemDate(int id, int index, int value, bool setValue = false)
		{
			if (sv._itemsChangeDate.ContainsKey(id))
			{
				if (sv._itemsChangeDate[id].ContainsKey(index))
				{
					if (setValue)
					{
						sv._itemsChangeDate[id][index] = value;
					}
					else
					{
						Dictionary<int, int> dictionary;
						int key;
						(dictionary = sv._itemsChangeDate[id])[key = index] = dictionary[key] + value;
					}
				}
				else
				{
					sv._itemsChangeDate[id].Add(index, value);
				}
			}
			else
			{
				Dictionary<int, int> value2 = new Dictionary<int, int>
				{
					{
						index,
						value
					}
				};
				sv._itemsChangeDate.Add(id, value2);
			}
		}

		private void Form1_Resize(object sender, EventArgs e)
		{
			resize();
		}

		private void resize()
		{
			Size size = base.Size;
			int width = size.Width;
			size = base.Size;
			int height = size.Height;
			tabControl1.Size = new Size(width - 60, height - 66);
			panel2.Size = new Size(width - 60 - 30, height - 66 - 20);
			panel3.Location = new Point(width - 260 - 30, 33);
			list_items.Size = new Size(width - 260 - 30 - 15, height - 66 - 20 - 60);
		}

		private void dt_TextChanged(object sender, EventArgs e)
		{
		}

		private void cb_as_SelectedValueChanged(object sender, EventArgs e)
		{
			if (cb_as.SelectedItem != null)
			{
				saveSX();
				pId = (int)((CBItem)cb_as.SelectedItem).getValue();
				loadSX();
			}
		}

		private void btn_actor_search_Click(object sender, EventArgs e)
		{
			loadActorsBySearch(actor_name_for_search.Text);
		}

		private void btn_load_home_Click(object sender, EventArgs e)
		{
			OpenFileDialog openFileDialog = new OpenFileDialog();
			if (openFileDialog.ShowDialog() == DialogResult.OK)
			{
				home = LoadHomeDate(openFileDialog.FileName);
			}
		}

		private void actor_name_for_search_KeyPress(object sender, KeyPressEventArgs e)
		{
			if (e.KeyChar == '\r')
			{
				loadActorsBySearch(actor_name_for_search.Text);
			}
		}

		private void item_name_for_search_KeyPress(object sender, KeyPressEventArgs e)
		{
			if (e.KeyChar == '\r')
			{
				loadItemsBySearch((cb_item_type.SelectedItem != null) ? ((string)((CBItem)cb_item_type.SelectedItem).getValue()) : "", item_name_for_search.Text);
			}
		}

		private void numberonly_KeyPress(object sender, KeyPressEventArgs e)
		{
			if (e.KeyChar != '\b' && !char.IsDigit(e.KeyChar))
			{
				e.Handled = true;
			}
		}

		private void numberonly_TextChanged(object sender, EventArgs e)
		{
			Control control = sender as Control;
			if (control.Text.StartsWith("0") && !control.Text.Equals("0"))
			{
				control.Text = control.Text.TrimStart('0');
			}
			if (control.Text.Equals(""))
			{
				control.Text = "0";
			}
		}

		private void list_txs_ItemSelectionChanged(object sender, ListViewItemSelectionChangedEventArgs e)
		{
		}

		private void list_txs_ItemChecked(object sender, ItemCheckedEventArgs e)
		{
			CTXCK cTXCK = e.Item as CTXCK;
			dt_101.Text = dt_101.Text.Replace("|" + cTXCK.getId() + "|", "|");
			dt_101.Text = dt_101.Text.Replace("||", "");
			if (dt_101.Text.StartsWith(cTXCK.getId() + "|"))
			{
				dt_101.Text = dt_101.Text.Substring(cTXCK.getId().Length + 1);
			}
			if (dt_101.Text.EndsWith("|" + cTXCK.getId()))
			{
				dt_101.Text = dt_101.Text.Substring(0, dt_101.Text.Length - cTXCK.getId().Length - 1);
			}
			if (dt_101.Text.Equals(cTXCK.getId()))
			{
				dt_101.Text = "";
			}
			dt_101.Text = dt_101.Text.Trim('|');
			if (cTXCK.Checked)
			{
				TextBox textBox = dt_101;
				textBox.Text = textBox.Text + "|" + cTXCK.getId();
			}
			dt_101.Text = dt_101.Text.Trim('|');
		}

		private void partIds_SelectedValueChanged(object sender, EventArgs e)
		{
			placeIds.Items.Clear();
			placeIds.SelectedItem = null;
			if (partIds.SelectedItem != null)
			{
				int key = p_partId = (int)((CBItem)partIds.SelectedItem).getValue();
				foreach (int key2 in home._homeBuildingsDate[key].Keys)
				{
					CBItem cBItem = new CBItem(string.Concat(key2), key2);
					placeIds.Items.Add(cBItem);
				}
			}
		}

		private void placeIds_SelectedIndexChanged(object sender, EventArgs e)
		{
			selectBuildBox = null;
			if (placeIds.SelectedItem != null)
			{
				int num = p_placeId = (int)((CBItem)placeIds.SelectedItem).getValue();
				foreach (BuildingBox value in buildingBoxs.Values)
				{
					if (home._homeBuildingsDate[p_partId][p_placeId].ContainsKey(value.getIndex()))
					{
						value.reset(false, home, p_partId, p_placeId);
					}
					else
					{
						value.reset(true, null, 0, 0);
					}
					value.Checked = false;
				}
				buildings.Enabled = true;
			}
			loadBuildingIds(ck_only_twc.Checked, building_name_for_search.Text);
		}

		private void change_building_Click(object sender, EventArgs e)
		{
			building_changed = true;
			int key = int.Parse(building_index.Text);
			int num = int.Parse(building_id.Text);
			int num2 = int.Parse(building_level.Text);
			int num3 = int.Parse(building_type.Text);
			if (num == 0)
			{
				home._homeBuildingsDate[p_partId][p_placeId][key][1] = 0;
				home._homeBuildingsDate[p_partId][p_placeId][key][2] = 0;
			}
			else
			{
				if (num2 == 0)
				{
					num2 = 1;
				}
				if (ck_max_level.Checked)
				{
					num2 = 20;
				}
				home._homeBuildingsDate[p_partId][p_placeId][key][1] = num2;
				home._homeBuildingsDate[p_partId][p_placeId][key][2] = num3;
			}
			home._homeBuildingsDate[p_partId][p_placeId][key][0] = num;
			buildingBoxs[key].reset(false, home, p_partId, p_placeId);
		}

		private void building_ids_SelectedIndexChanged(object sender, EventArgs e)
		{
			if (building_ids.SelectedItem == null)
			{
				change_building.Enabled = false;
			}
			else
			{
				change_building.Enabled = true;
				int num = (int)((CBItem)building_ids.SelectedItem).getValue();
				building_id.Text = string.Concat(num);
				if (num == 0)
				{
					building_level.Text = "0";
				}
				else if (ck_max_level.Checked)
				{
					building_level.Text = "20";
				}
				else if (building_level.Text.Equals("") || building_level.Text.Equals("0"))
				{
					building_level.Text = "1";
				}
				if (num > 2000 && num <= 3611)
				{
					building_type.Text = "1";
				}
				else if (num <= 110)
				{
					building_type.Text = "0";
				}
				else if (num > 10000 && num <= 11010)
				{
					building_type.Text = "1";
				}
			}
		}

		private void btn_trytofix_item_id_Click(object sender, EventArgs e)
		{
			int num = 0;
			foreach (int key in sv._itemsDate.Keys)
			{
				if (key > num)
				{
					num = key;
				}
			}
			if (num > sv._newItemId)
			{
				sv._newItemId = num;
			}
		}

		private void resetTXView()
		{
			string text = "";
			actor_txs.Items.Clear();
			foreach (int item in actor_txs_list)
			{
				text = ((!text.Equals("")) ? (text + "|" + item) : (text + item));
				CListItem value = new CListItem(tx_cks[string.Concat(item)].Text, item);
				actor_txs.Items.Add(value);
			}
			dt_101.Text = text;
		}

		private void add_tx(int tx_id)
		{
			if ((tx_id != 4003 || canHY()) && !actor_txs_list.Contains(tx_id))
			{
				actor_txs_list.Add(tx_id);
			}
		}

		private void remove_tx(int tx_id)
		{
			if (actor_txs_list.Contains(tx_id))
			{
				actor_txs_list.Remove(tx_id);
			}
		}

		private void list_txs_DoubleClick(object sender, EventArgs e)
		{
			if (list_txs.SelectedItems.Count != 0)
			{
				int tx_id = int.Parse(((CTXCK)list_txs.SelectedItems[0]).getId());
				add_tx(tx_id);
				resetTXView();
			}
		}

		private void actor_txs_DoubleClick(object sender, EventArgs e)
		{
			if (actor_txs.SelectedItems.Count != 0)
			{
				int tx_id = (int)((CListItem)actor_txs.SelectedItems[0]).getValue();
				remove_tx(tx_id);
				resetTXView();
			}
		}

		public int GetItem(int actorId, int itemId, int itemNumber, bool newItem, int getTypIndex = -1, int bookObbs = 0, int buffObbs = 50)
		{
			if (itemId <= 0 || itemNumber <= 0 || int.Parse(GetItemDate(itemId, 4, true)) <= 0)
			{
				return 0;
			}
			if (newItem && int.Parse(presetitemDate[itemId][6]) == 0)
			{
				for (int i = 0; i < itemNumber; i++)
				{
					itemId = MakeNewItem(itemId, 0, bookObbs, buffObbs, 20);
					sv._actorItemsDate[actorId].Add(itemId, 1);
				}
			}
			else if (int.Parse(GetItemDate(itemId, 6, true)) == 0)
			{
				if (!sv._actorItemsDate[actorId].ContainsKey(itemId))
				{
					sv._actorItemsDate[actorId].Add(itemId, 1);
				}
			}
			else if (sv._actorItemsDate[actorId].ContainsKey(itemId))
			{
				sv._actorItemsDate[actorId][itemId] = sv._actorItemsDate[actorId][itemId] + itemNumber;
			}
			else
			{
				sv._actorItemsDate[actorId].Add(itemId, itemNumber);
			}
			return itemId;
		}

		private void decode_Click(object sender, EventArgs e)
		{
			OpenFileDialog openFileDialog = new OpenFileDialog();
			if (openFileDialog.ShowDialog() == DialogResult.OK)
			{
				byte[] data = File.ReadAllBytes(openFileDialog.FileName);
				data = XXTEA.Decrypt(data, Encoding.ASCII.GetBytes("43062619851001801xshipzheng12a8294639u5238798jie1986929conch"));
				File.WriteAllBytes(openFileDialog.FileName + ".new", data);
			}
		}

		private void panel4_Paint(object sender, PaintEventArgs e)
		{
		}

		private void cb_item_type_SelectedIndexChanged(object sender, EventArgs e)
		{
			loadItemsBySearch((cb_item_type.SelectedItem != null) ? ((string)((CBItem)cb_item_type.SelectedItem).getValue()) : "", item_name_for_search.Text);
		}

		private bool canHY()
		{
			if (int.Parse(dt_11.Text) < 18)
			{
				return false;
			}
			return true;
		}

		private void dt_11_TextChanged(object sender, EventArgs e)
		{
			Control control = sender as Control;
			if (control.Text.StartsWith("0") && !control.Text.Equals("0"))
			{
				control.Text = control.Text.TrimStart('0');
			}
			if (control.Text.Equals(""))
			{
				control.Text = "0";
			}
			if (!canHY())
			{
				remove_tx(4003);
				resetTXView();
			}
		}

		private void loadGFBySearch()
		{
			actor_gfs.Items.Clear();
			if (sv._actorGongFas.ContainsKey(pId))
			{
				foreach (int key in sv._actorGongFas[pId].Keys)
				{
					if (gongFaDate.ContainsKey(key))
					{
						CListItem value = new CListItem(gongFaDate[key][0], key);
						actor_gfs.Items.Add(value);
					}
					else
					{
						CListItem value2 = new CListItem(string.Concat(key), key);
						actor_gfs.Items.Add(value2);
					}
				}
			}
		}

		private void actor_gfs_ItemSelectionChanged(object sender, ListViewItemSelectionChangedEventArgs e)
		{
			if (e.IsSelected)
			{
				int num = (int)(e.Item as CListItem).getValue();
				gf_id.Text = string.Concat(num);
				gf_v0.Text = "0";
				gf_v1.Text = "0";
				gf_v2.Text = "0";
				if (sv._actorGongFas.ContainsKey(pId) && sv._actorGongFas[pId].ContainsKey(num))
				{
					gf_v0.Text = string.Concat(sv._actorGongFas[pId][num][0]);
					gf_v1.Text = string.Concat(sv._actorGongFas[pId][num][1]);
					gf_v2.Text = string.Concat(sv._actorGongFas[pId][num][2]);
				}
			}
		}

		private void gf_change_Click(object sender, EventArgs e)
		{
			if (!sv._actorGongFas.ContainsKey(pId))
			{
				sv._actorGongFas.Add(pId, new SortedDictionary<int, int[]>());
			}
			int key = int.Parse(gf_id.Text);
			int num = int.Parse(gf_v0.Text);
			int num2 = int.Parse(gf_v1.Text);
			int num3 = int.Parse(gf_v2.Text);
			if (!sv._actorGongFas[pId].ContainsKey(key))
			{
				sv._actorGongFas[pId].Add(key, new int[3]);
			}
			sv._actorGongFas[pId][key][0] = num;
			sv._actorGongFas[pId][key][1] = num2;
			sv._actorGongFas[pId][key][2] = num3;
			loadGFBySearch();
		}

		private void gf_forget_Click(object sender, EventArgs e)
		{
			int key = int.Parse(gf_id.Text);
			if (sv._actorGongFas.ContainsKey(pId) && sv._actorGongFas[pId].ContainsKey(key))
			{
				if (sv._actorBookDate.ContainsKey(pId))
				{
					List<int> item = sv._actorBookDate[pId];
				}
				sv._actorGongFas[pId].Remove(key);
			}
			loadGFBySearch();
		}

		private void ck_only_twc_CheckedChanged(object sender, EventArgs e)
		{
			loadBuildingIds(ck_only_twc.Checked, building_name_for_search.Text);
		}

		private void btn_search_buildingIds_Click(object sender, EventArgs e)
		{
			loadBuildingIds(ck_only_twc.Checked, building_name_for_search.Text);
		}

		private void building_name_for_search_KeyPress(object sender, KeyPressEventArgs e)
		{
			if (e.KeyChar == '\r')
			{
				loadBuildingIds(ck_only_twc.Checked, building_name_for_search.Text);
			}
		}

		protected override void Dispose(bool disposing)
		{
			if (disposing && components != null)
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}

		private void InitializeComponent()
		{
            this.menuStrip1 = new System.Windows.Forms.MenuStrip();
            this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.tabControl1 = new System.Windows.Forms.TabControl();
            this.tabPage1 = new System.Windows.Forms.TabPage();
            this.panel1 = new System.Windows.Forms.Panel();
            this.label81 = new System.Windows.Forms.Label();
            this.dt_3 = new System.Windows.Forms.TextBox();
            this.label80 = new System.Windows.Forms.Label();
            this.dt_706 = new System.Windows.Forms.TextBox();
            this.label79 = new System.Windows.Forms.Label();
            this.dt_901 = new System.Windows.Forms.TextBox();
            this.label76 = new System.Windows.Forms.Label();
            this.label75 = new System.Windows.Forms.Label();
            this.label74 = new System.Windows.Forms.Label();
            this.label73 = new System.Windows.Forms.Label();
            this.label72 = new System.Windows.Forms.Label();
            this.label71 = new System.Windows.Forms.Label();
            this.label70 = new System.Windows.Forms.Label();
            this.dt_407 = new System.Windows.Forms.TextBox();
            this.dt_406 = new System.Windows.Forms.TextBox();
            this.dt_405 = new System.Windows.Forms.TextBox();
            this.dt_404 = new System.Windows.Forms.TextBox();
            this.dt_403 = new System.Windows.Forms.TextBox();
            this.dt_402 = new System.Windows.Forms.TextBox();
            this.dt_401 = new System.Windows.Forms.TextBox();
            this.dt_203 = new System.Windows.Forms.ComboBox();
            this.dt_202 = new System.Windows.Forms.ComboBox();
            this.label57 = new System.Windows.Forms.Label();
            this.label56 = new System.Windows.Forms.Label();
            this.label55 = new System.Windows.Forms.Label();
            this.dt_996 = new System.Windows.Forms.TextBox();
            this.dt_995 = new System.Windows.Forms.TextBox();
            this.label54 = new System.Windows.Forms.Label();
            this.label53 = new System.Windows.Forms.Label();
            this.label52 = new System.Windows.Forms.Label();
            this.label51 = new System.Windows.Forms.Label();
            this.dt_551 = new System.Windows.Forms.TextBox();
            this.label50 = new System.Windows.Forms.Label();
            this.label49 = new System.Windows.Forms.Label();
            this.dt_18 = new System.Windows.Forms.TextBox();
            this.dt_651 = new System.Windows.Forms.TextBox();
            this.label48 = new System.Windows.Forms.Label();
            this.dt_15 = new System.Windows.Forms.TextBox();
            this.label47 = new System.Windows.Forms.Label();
            this.dt_16 = new System.Windows.Forms.TextBox();
            this.label46 = new System.Windows.Forms.Label();
            this.actor_id = new System.Windows.Forms.TextBox();
            this.btn_savesx = new System.Windows.Forms.Button();
            this.label39 = new System.Windows.Forms.Label();
            this.ck_trzh = new System.Windows.Forms.CheckBox();
            this.ck_tgkw = new System.Windows.Forms.CheckBox();
            this.ck_yxxp = new System.Windows.Forms.CheckBox();
            this.ck_yrzr = new System.Windows.Forms.CheckBox();
            this.ck_qqsh = new System.Windows.Forms.CheckBox();
            this.ck_66 = new System.Windows.Forms.CheckBox();
            this.ck_65 = new System.Windows.Forms.CheckBox();
            this.ck_64 = new System.Windows.Forms.CheckBox();
            this.ck_63 = new System.Windows.Forms.CheckBox();
            this.ck_62 = new System.Windows.Forms.CheckBox();
            this.ck_61 = new System.Windows.Forms.CheckBox();
            this.dt_11 = new System.Windows.Forms.TextBox();
            this.btn_random = new System.Windows.Forms.Button();
            this.label38 = new System.Windows.Forms.Label();
            this.dt_13 = new System.Windows.Forms.TextBox();
            this.dt_12 = new System.Windows.Forms.TextBox();
            this.label37 = new System.Windows.Forms.Label();
            this.dt_611 = new System.Windows.Forms.TextBox();
            this.dt_610 = new System.Windows.Forms.TextBox();
            this.label23 = new System.Windows.Forms.Label();
            this.label24 = new System.Windows.Forms.Label();
            this.dt_607 = new System.Windows.Forms.TextBox();
            this.label25 = new System.Windows.Forms.Label();
            this.dt_609 = new System.Windows.Forms.TextBox();
            this.dt_608 = new System.Windows.Forms.TextBox();
            this.label26 = new System.Windows.Forms.Label();
            this.dt_605 = new System.Windows.Forms.TextBox();
            this.label27 = new System.Windows.Forms.Label();
            this.label28 = new System.Windows.Forms.Label();
            this.dt_614 = new System.Windows.Forms.TextBox();
            this.dt_613 = new System.Windows.Forms.TextBox();
            this.label29 = new System.Windows.Forms.Label();
            this.dt_612 = new System.Windows.Forms.TextBox();
            this.label30 = new System.Windows.Forms.Label();
            this.dt_606 = new System.Windows.Forms.TextBox();
            this.label31 = new System.Windows.Forms.Label();
            this.label32 = new System.Windows.Forms.Label();
            this.dt_604 = new System.Windows.Forms.TextBox();
            this.dt_603 = new System.Windows.Forms.TextBox();
            this.label33 = new System.Windows.Forms.Label();
            this.dt_602 = new System.Windows.Forms.TextBox();
            this.label34 = new System.Windows.Forms.Label();
            this.dt_601 = new System.Windows.Forms.TextBox();
            this.label35 = new System.Windows.Forms.Label();
            this.label36 = new System.Windows.Forms.Label();
            this.dt_0 = new System.Windows.Forms.TextBox();
            this.dt_5 = new System.Windows.Forms.TextBox();
            this.dt_512 = new System.Windows.Forms.TextBox();
            this.dt_511 = new System.Windows.Forms.TextBox();
            this.label19 = new System.Windows.Forms.Label();
            this.dt_508 = new System.Windows.Forms.TextBox();
            this.label20 = new System.Windows.Forms.Label();
            this.dt_507 = new System.Windows.Forms.TextBox();
            this.label21 = new System.Windows.Forms.Label();
            this.label22 = new System.Windows.Forms.Label();
            this.dt_516 = new System.Windows.Forms.TextBox();
            this.dt_510 = new System.Windows.Forms.TextBox();
            this.label15 = new System.Windows.Forms.Label();
            this.dt_509 = new System.Windows.Forms.TextBox();
            this.label16 = new System.Windows.Forms.Label();
            this.dt_505 = new System.Windows.Forms.TextBox();
            this.label17 = new System.Windows.Forms.Label();
            this.label18 = new System.Windows.Forms.Label();
            this.dt_515 = new System.Windows.Forms.TextBox();
            this.dt_514 = new System.Windows.Forms.TextBox();
            this.label7 = new System.Windows.Forms.Label();
            this.dt_513 = new System.Windows.Forms.TextBox();
            this.label8 = new System.Windows.Forms.Label();
            this.dt_506 = new System.Windows.Forms.TextBox();
            this.label13 = new System.Windows.Forms.Label();
            this.label14 = new System.Windows.Forms.Label();
            this.dt_504 = new System.Windows.Forms.TextBox();
            this.dt_503 = new System.Windows.Forms.TextBox();
            this.label9 = new System.Windows.Forms.Label();
            this.dt_502 = new System.Windows.Forms.TextBox();
            this.label10 = new System.Windows.Forms.Label();
            this.dt_501 = new System.Windows.Forms.TextBox();
            this.label11 = new System.Windows.Forms.Label();
            this.label12 = new System.Windows.Forms.Label();
            this.dt_65 = new System.Windows.Forms.TextBox();
            this.label6 = new System.Windows.Forms.Label();
            this.dt_64 = new System.Windows.Forms.TextBox();
            this.label5 = new System.Windows.Forms.Label();
            this.dt_63 = new System.Windows.Forms.TextBox();
            this.label4 = new System.Windows.Forms.Label();
            this.dt_62 = new System.Windows.Forms.TextBox();
            this.label3 = new System.Windows.Forms.Label();
            this.dt_61 = new System.Windows.Forms.TextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.dt_66 = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.tabPage2 = new System.Windows.Forms.TabPage();
            this.panel_txs = new System.Windows.Forms.Panel();
            this.actor_txs = new System.Windows.Forms.ListView();
            this.list_txs = new System.Windows.Forms.ListView();
            this.dt_101 = new System.Windows.Forms.TextBox();
            this.tabPage6 = new System.Windows.Forms.TabPage();
            this.panel5 = new System.Windows.Forms.Panel();
            this.label69 = new System.Windows.Forms.Label();
            this.label68 = new System.Windows.Forms.Label();
            this.label67 = new System.Windows.Forms.Label();
            this.label66 = new System.Windows.Forms.Label();
            this.gf_id = new System.Windows.Forms.TextBox();
            this.gf_forget = new System.Windows.Forms.Button();
            this.gf_change = new System.Windows.Forms.Button();
            this.gf_v2 = new System.Windows.Forms.TextBox();
            this.gf_v1 = new System.Windows.Forms.TextBox();
            this.gf_v0 = new System.Windows.Forms.TextBox();
            this.actor_gfs = new System.Windows.Forms.ListView();
            this.tabPage3 = new System.Windows.Forms.TabPage();
            this.panel2 = new System.Windows.Forms.Panel();
            this.btn_trytofix_item_id = new System.Windows.Forms.Button();
            this.panel3 = new System.Windows.Forms.Panel();
            this.label78 = new System.Windows.Forms.Label();
            this.lb_num4 = new System.Windows.Forms.Label();
            this.lb_num3 = new System.Windows.Forms.Label();
            this.lb_num2 = new System.Windows.Forms.Label();
            this.label65 = new System.Windows.Forms.Label();
            this.item_7 = new System.Windows.Forms.TextBox();
            this.ck_superJunk = new System.Windows.Forms.CheckBox();
            this.ck_junk = new System.Windows.Forms.CheckBox();
            this.ck_superQuqu = new System.Windows.Forms.CheckBox();
            this.label40 = new System.Windows.Forms.Label();
            this.lb_item_num = new System.Windows.Forms.Label();
            this.ck_all_page = new System.Windows.Forms.CheckBox();
            this.tb_item_num = new System.Windows.Forms.TextBox();
            this.item_info = new System.Windows.Forms.Label();
            this.item_name = new System.Windows.Forms.Label();
            this.tb_item_id = new System.Windows.Forms.TextBox();
            this.item_add = new System.Windows.Forms.Button();
            this.button3 = new System.Windows.Forms.Button();
            this.list_items = new System.Windows.Forms.ListView();
            this.search = new System.Windows.Forms.Button();
            this.cb_item_type = new System.Windows.Forms.ComboBox();
            this.item_name_for_search = new System.Windows.Forms.TextBox();
            this.tabPage7 = new System.Windows.Forms.TabPage();
            this.panel6 = new System.Windows.Forms.Panel();
            this.ssm_6 = new System.Windows.Forms.TextBox();
            this.ssl_6 = new System.Windows.Forms.TextBox();
            this.ssm_5 = new System.Windows.Forms.TextBox();
            this.ssl_5 = new System.Windows.Forms.TextBox();
            this.ssm_4 = new System.Windows.Forms.TextBox();
            this.ssl_4 = new System.Windows.Forms.TextBox();
            this.ssm_3 = new System.Windows.Forms.TextBox();
            this.ssl_3 = new System.Windows.Forms.TextBox();
            this.ssm_2 = new System.Windows.Forms.TextBox();
            this.ssl_2 = new System.Windows.Forms.TextBox();
            this.ssm_1 = new System.Windows.Forms.TextBox();
            this.ssl_1 = new System.Windows.Forms.TextBox();
            this.ssm_0 = new System.Windows.Forms.TextBox();
            this.ssl_0 = new System.Windows.Forms.TextBox();
            this.label90 = new System.Windows.Forms.Label();
            this.label89 = new System.Windows.Forms.Label();
            this.label88 = new System.Windows.Forms.Label();
            this.label87 = new System.Windows.Forms.Label();
            this.label86 = new System.Windows.Forms.Label();
            this.label85 = new System.Windows.Forms.Label();
            this.label84 = new System.Windows.Forms.Label();
            this.label83 = new System.Windows.Forms.Label();
            this.label82 = new System.Windows.Forms.Label();
            this.tabPage4 = new System.Windows.Forms.TabPage();
            this.btn_search_buildingIds = new System.Windows.Forms.Button();
            this.building_name_for_search = new System.Windows.Forms.TextBox();
            this.ck_only_twc = new System.Windows.Forms.CheckBox();
            this.ck_building_types = new System.Windows.Forms.ComboBox();
            this.listView1 = new System.Windows.Forms.ListView();
            this.ck_max_level = new System.Windows.Forms.CheckBox();
            this.label43 = new System.Windows.Forms.Label();
            this.label77 = new System.Windows.Forms.Label();
            this.homeFavorAdd = new System.Windows.Forms.TextBox();
            this.label45 = new System.Windows.Forms.Label();
            this.label44 = new System.Windows.Forms.Label();
            this.label42 = new System.Windows.Forms.Label();
            this.building_type = new System.Windows.Forms.TextBox();
            this.building_id = new System.Windows.Forms.TextBox();
            this.list_building_value = new System.Windows.Forms.ListBox();
            this.building_index = new System.Windows.Forms.TextBox();
            this.change_building = new System.Windows.Forms.Button();
            this.building_level = new System.Windows.Forms.TextBox();
            this.building_ids = new System.Windows.Forms.ComboBox();
            this.buildings = new System.Windows.Forms.Panel();
            this.placeIds = new System.Windows.Forms.ComboBox();
            this.partIds = new System.Windows.Forms.ComboBox();
            this.mianActorPlaceId = new System.Windows.Forms.TextBox();
            this.mianActor_partId = new System.Windows.Forms.TextBox();
            this.label41 = new System.Windows.Forms.Label();
            this.tabPage5 = new System.Windows.Forms.TabPage();
            this.panel4 = new System.Windows.Forms.Panel();
            this.label64 = new System.Windows.Forms.Label();
            this.label63 = new System.Windows.Forms.Label();
            this.label62 = new System.Windows.Forms.Label();
            this.label61 = new System.Windows.Forms.Label();
            this.label60 = new System.Windows.Forms.Label();
            this.label59 = new System.Windows.Forms.Label();
            this.label58 = new System.Windows.Forms.Label();
            this.birthWorldId = new System.Windows.Forms.TextBox();
            this.randomHeir = new System.Windows.Forms.TextBox();
            this.worldResource = new System.Windows.Forms.TextBox();
            this.xxLevel = new System.Windows.Forms.TextBox();
            this.enemySize = new System.Windows.Forms.TextBox();
            this.enemyBorn = new System.Windows.Forms.TextBox();
            this.ageTime = new System.Windows.Forms.TextBox();
            this.homeTypId = new System.Windows.Forms.TextBox();
            this.cb_as = new System.Windows.Forms.ComboBox();
            this.actor_name_for_search = new System.Windows.Forms.TextBox();
            this.btn_actor_search = new System.Windows.Forms.Button();
            this.decode = new System.Windows.Forms.Button();
            this.menuStrip1.SuspendLayout();
            this.tabControl1.SuspendLayout();
            this.tabPage1.SuspendLayout();
            this.panel1.SuspendLayout();
            this.tabPage2.SuspendLayout();
            this.panel_txs.SuspendLayout();
            this.tabPage6.SuspendLayout();
            this.panel5.SuspendLayout();
            this.tabPage3.SuspendLayout();
            this.panel2.SuspendLayout();
            this.panel3.SuspendLayout();
            this.tabPage7.SuspendLayout();
            this.panel6.SuspendLayout();
            this.tabPage4.SuspendLayout();
            this.tabPage5.SuspendLayout();
            this.panel4.SuspendLayout();
            this.SuspendLayout();
            // 
            // menuStrip1
            // 
            this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.fileToolStripMenuItem});
            this.menuStrip1.Location = new System.Drawing.Point(0, 0);
            this.menuStrip1.Name = "menuStrip1";
            this.menuStrip1.Size = new System.Drawing.Size(694, 25);
            this.menuStrip1.TabIndex = 0;
            this.menuStrip1.Text = "menuStrip1";
            // 
            // fileToolStripMenuItem
            // 
            this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.openToolStripMenuItem,
            this.saveToolStripMenuItem});
            this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
            this.fileToolStripMenuItem.Size = new System.Drawing.Size(39, 21);
            this.fileToolStripMenuItem.Text = "File";
            // 
            // openToolStripMenuItem
            // 
            this.openToolStripMenuItem.Name = "openToolStripMenuItem";
            this.openToolStripMenuItem.Size = new System.Drawing.Size(108, 22);
            this.openToolStripMenuItem.Text = "Open";
            this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click);
            // 
            // saveToolStripMenuItem
            // 
            this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
            this.saveToolStripMenuItem.Size = new System.Drawing.Size(108, 22);
            this.saveToolStripMenuItem.Text = "Save";
            this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
            // 
            // tabControl1
            // 
            this.tabControl1.Controls.Add(this.tabPage1);
            this.tabControl1.Controls.Add(this.tabPage2);
            this.tabControl1.Controls.Add(this.tabPage6);
            this.tabControl1.Controls.Add(this.tabPage3);
            this.tabControl1.Controls.Add(this.tabPage7);
            this.tabControl1.Controls.Add(this.tabPage4);
            this.tabControl1.Controls.Add(this.tabPage5);
            this.tabControl1.Dock = System.Windows.Forms.DockStyle.Top;
            this.tabControl1.Location = new System.Drawing.Point(0, 25);
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new System.Drawing.Size(694, 628);
            this.tabControl1.TabIndex = 96;
            // 
            // tabPage1
            // 
            this.tabPage1.Controls.Add(this.panel1);
            this.tabPage1.Location = new System.Drawing.Point(4, 22);
            this.tabPage1.Name = "tabPage1";
            this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage1.Size = new System.Drawing.Size(686, 602);
            this.tabPage1.TabIndex = 0;
            this.tabPage1.Text = "属性";
            this.tabPage1.UseVisualStyleBackColor = true;
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this.label81);
            this.panel1.Controls.Add(this.dt_3);
            this.panel1.Controls.Add(this.label80);
            this.panel1.Controls.Add(this.dt_706);
            this.panel1.Controls.Add(this.label79);
            this.panel1.Controls.Add(this.dt_901);
            this.panel1.Controls.Add(this.label76);
            this.panel1.Controls.Add(this.label75);
            this.panel1.Controls.Add(this.label74);
            this.panel1.Controls.Add(this.label73);
            this.panel1.Controls.Add(this.label72);
            this.panel1.Controls.Add(this.label71);
            this.panel1.Controls.Add(this.label70);
            this.panel1.Controls.Add(this.dt_407);
            this.panel1.Controls.Add(this.dt_406);
            this.panel1.Controls.Add(this.dt_405);
            this.panel1.Controls.Add(this.dt_404);
            this.panel1.Controls.Add(this.dt_403);
            this.panel1.Controls.Add(this.dt_402);
            this.panel1.Controls.Add(this.dt_401);
            this.panel1.Controls.Add(this.dt_203);
            this.panel1.Controls.Add(this.dt_202);
            this.panel1.Controls.Add(this.label57);
            this.panel1.Controls.Add(this.label56);
            this.panel1.Controls.Add(this.label55);
            this.panel1.Controls.Add(this.dt_996);
            this.panel1.Controls.Add(this.dt_995);
            this.panel1.Controls.Add(this.label54);
            this.panel1.Controls.Add(this.label53);
            this.panel1.Controls.Add(this.label52);
            this.panel1.Controls.Add(this.label51);
            this.panel1.Controls.Add(this.dt_551);
            this.panel1.Controls.Add(this.label50);
            this.panel1.Controls.Add(this.label49);
            this.panel1.Controls.Add(this.dt_18);
            this.panel1.Controls.Add(this.dt_651);
            this.panel1.Controls.Add(this.label48);
            this.panel1.Controls.Add(this.dt_15);
            this.panel1.Controls.Add(this.label47);
            this.panel1.Controls.Add(this.dt_16);
            this.panel1.Controls.Add(this.label46);
            this.panel1.Controls.Add(this.actor_id);
            this.panel1.Controls.Add(this.btn_savesx);
            this.panel1.Controls.Add(this.label39);
            this.panel1.Controls.Add(this.ck_trzh);
            this.panel1.Controls.Add(this.ck_tgkw);
            this.panel1.Controls.Add(this.ck_yxxp);
            this.panel1.Controls.Add(this.ck_yrzr);
            this.panel1.Controls.Add(this.ck_qqsh);
            this.panel1.Controls.Add(this.ck_66);
            this.panel1.Controls.Add(this.ck_65);
            this.panel1.Controls.Add(this.ck_64);
            this.panel1.Controls.Add(this.ck_63);
            this.panel1.Controls.Add(this.ck_62);
            this.panel1.Controls.Add(this.ck_61);
            this.panel1.Controls.Add(this.dt_11);
            this.panel1.Controls.Add(this.btn_random);
            this.panel1.Controls.Add(this.label38);
            this.panel1.Controls.Add(this.dt_13);
            this.panel1.Controls.Add(this.dt_12);
            this.panel1.Controls.Add(this.label37);
            this.panel1.Controls.Add(this.dt_611);
            this.panel1.Controls.Add(this.dt_610);
            this.panel1.Controls.Add(this.label23);
            this.panel1.Controls.Add(this.label24);
            this.panel1.Controls.Add(this.dt_607);
            this.panel1.Controls.Add(this.label25);
            this.panel1.Controls.Add(this.dt_609);
            this.panel1.Controls.Add(this.dt_608);
            this.panel1.Controls.Add(this.label26);
            this.panel1.Controls.Add(this.dt_605);
            this.panel1.Controls.Add(this.label27);
            this.panel1.Controls.Add(this.label28);
            this.panel1.Controls.Add(this.dt_614);
            this.panel1.Controls.Add(this.dt_613);
            this.panel1.Controls.Add(this.label29);
            this.panel1.Controls.Add(this.dt_612);
            this.panel1.Controls.Add(this.label30);
            this.panel1.Controls.Add(this.dt_606);
            this.panel1.Controls.Add(this.label31);
            this.panel1.Controls.Add(this.label32);
            this.panel1.Controls.Add(this.dt_604);
            this.panel1.Controls.Add(this.dt_603);
            this.panel1.Controls.Add(this.label33);
            this.panel1.Controls.Add(this.dt_602);
            this.panel1.Controls.Add(this.label34);
            this.panel1.Controls.Add(this.dt_601);
            this.panel1.Controls.Add(this.label35);
            this.panel1.Controls.Add(this.label36);
            this.panel1.Controls.Add(this.dt_0);
            this.panel1.Controls.Add(this.dt_5);
            this.panel1.Controls.Add(this.dt_512);
            this.panel1.Controls.Add(this.dt_511);
            this.panel1.Controls.Add(this.label19);
            this.panel1.Controls.Add(this.dt_508);
            this.panel1.Controls.Add(this.label20);
            this.panel1.Controls.Add(this.dt_507);
            this.panel1.Controls.Add(this.label21);
            this.panel1.Controls.Add(this.label22);
            this.panel1.Controls.Add(this.dt_516);
            this.panel1.Controls.Add(this.dt_510);
            this.panel1.Controls.Add(this.label15);
            this.panel1.Controls.Add(this.dt_509);
            this.panel1.Controls.Add(this.label16);
            this.panel1.Controls.Add(this.dt_505);
            this.panel1.Controls.Add(this.label17);
            this.panel1.Controls.Add(this.label18);
            this.panel1.Controls.Add(this.dt_515);
            this.panel1.Controls.Add(this.dt_514);
            this.panel1.Controls.Add(this.label7);
            this.panel1.Controls.Add(this.dt_513);
            this.panel1.Controls.Add(this.label8);
            this.panel1.Controls.Add(this.dt_506);
            this.panel1.Controls.Add(this.label13);
            this.panel1.Controls.Add(this.label14);
            this.panel1.Controls.Add(this.dt_504);
            this.panel1.Controls.Add(this.dt_503);
            this.panel1.Controls.Add(this.label9);
            this.panel1.Controls.Add(this.dt_502);
            this.panel1.Controls.Add(this.label10);
            this.panel1.Controls.Add(this.dt_501);
            this.panel1.Controls.Add(this.label11);
            this.panel1.Controls.Add(this.label12);
            this.panel1.Controls.Add(this.dt_65);
            this.panel1.Controls.Add(this.label6);
            this.panel1.Controls.Add(this.dt_64);
            this.panel1.Controls.Add(this.label5);
            this.panel1.Controls.Add(this.dt_63);
            this.panel1.Controls.Add(this.label4);
            this.panel1.Controls.Add(this.dt_62);
            this.panel1.Controls.Add(this.label3);
            this.panel1.Controls.Add(this.dt_61);
            this.panel1.Controls.Add(this.label2);
            this.panel1.Controls.Add(this.dt_66);
            this.panel1.Controls.Add(this.label1);
            this.panel1.Location = new System.Drawing.Point(8, 6);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(672, 576);
            this.panel1.TabIndex = 96;
            // 
            // label81
            // 
            this.label81.AutoSize = true;
            this.label81.Location = new System.Drawing.Point(534, 107);
            this.label81.Name = "label81";
            this.label81.Size = new System.Drawing.Size(29, 12);
            this.label81.TabIndex = 229;
            this.label81.Text = "好感";
            // 
            // dt_3
            // 
            this.dt_3.Location = new System.Drawing.Point(569, 104);
            this.dt_3.Name = "dt_3";
            this.dt_3.Size = new System.Drawing.Size(78, 21);
            this.dt_3.TabIndex = 228;
            this.dt_3.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label80
            // 
            this.label80.AutoSize = true;
            this.label80.Location = new System.Drawing.Point(450, 18);
            this.label80.Name = "label80";
            this.label80.Size = new System.Drawing.Size(29, 12);
            this.label80.TabIndex = 227;
            this.label80.Text = "内力";
            // 
            // dt_706
            // 
            this.dt_706.Location = new System.Drawing.Point(485, 14);
            this.dt_706.Name = "dt_706";
            this.dt_706.Size = new System.Drawing.Size(78, 21);
            this.dt_706.TabIndex = 226;
            this.dt_706.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_706.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label79
            // 
            this.label79.AutoSize = true;
            this.label79.Location = new System.Drawing.Point(364, 18);
            this.label79.Name = "label79";
            this.label79.Size = new System.Drawing.Size(29, 12);
            this.label79.TabIndex = 225;
            this.label79.Text = "精纯";
            // 
            // dt_901
            // 
            this.dt_901.Location = new System.Drawing.Point(399, 15);
            this.dt_901.Name = "dt_901";
            this.dt_901.Size = new System.Drawing.Size(45, 21);
            this.dt_901.TabIndex = 224;
            this.dt_901.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_901.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label76
            // 
            this.label76.AutoSize = true;
            this.label76.Location = new System.Drawing.Point(297, 391);
            this.label76.Name = "label76";
            this.label76.Size = new System.Drawing.Size(29, 12);
            this.label76.TabIndex = 223;
            this.label76.Text = "威望";
            // 
            // label75
            // 
            this.label75.AutoSize = true;
            this.label75.Location = new System.Drawing.Point(156, 391);
            this.label75.Name = "label75";
            this.label75.Size = new System.Drawing.Size(29, 12);
            this.label75.TabIndex = 222;
            this.label75.Text = "银钱";
            // 
            // label74
            // 
            this.label74.AutoSize = true;
            this.label74.Location = new System.Drawing.Point(15, 391);
            this.label74.Name = "label74";
            this.label74.Size = new System.Drawing.Size(29, 12);
            this.label74.TabIndex = 221;
            this.label74.Text = "药材";
            // 
            // label73
            // 
            this.label73.AutoSize = true;
            this.label73.Location = new System.Drawing.Point(438, 364);
            this.label73.Name = "label73";
            this.label73.Size = new System.Drawing.Size(29, 12);
            this.label73.TabIndex = 220;
            this.label73.Text = "织物";
            // 
            // label72
            // 
            this.label72.AutoSize = true;
            this.label72.Location = new System.Drawing.Point(297, 364);
            this.label72.Name = "label72";
            this.label72.Size = new System.Drawing.Size(29, 12);
            this.label72.TabIndex = 219;
            this.label72.Text = "金石";
            // 
            // label71
            // 
            this.label71.AutoSize = true;
            this.label71.Location = new System.Drawing.Point(156, 364);
            this.label71.Name = "label71";
            this.label71.Size = new System.Drawing.Size(29, 12);
            this.label71.TabIndex = 218;
            this.label71.Text = "木材";
            // 
            // label70
            // 
            this.label70.AutoSize = true;
            this.label70.Location = new System.Drawing.Point(15, 364);
            this.label70.Name = "label70";
            this.label70.Size = new System.Drawing.Size(29, 12);
            this.label70.TabIndex = 217;
            this.label70.Text = "食材";
            // 
            // dt_407
            // 
            this.dt_407.Location = new System.Drawing.Point(332, 388);
            this.dt_407.Name = "dt_407";
            this.dt_407.Size = new System.Drawing.Size(100, 21);
            this.dt_407.TabIndex = 216;
            // 
            // dt_406
            // 
            this.dt_406.Location = new System.Drawing.Point(191, 388);
            this.dt_406.Name = "dt_406";
            this.dt_406.Size = new System.Drawing.Size(100, 21);
            this.dt_406.TabIndex = 215;
            // 
            // dt_405
            // 
            this.dt_405.Location = new System.Drawing.Point(50, 388);
            this.dt_405.Name = "dt_405";
            this.dt_405.Size = new System.Drawing.Size(100, 21);
            this.dt_405.TabIndex = 214;
            // 
            // dt_404
            // 
            this.dt_404.Location = new System.Drawing.Point(473, 361);
            this.dt_404.Name = "dt_404";
            this.dt_404.Size = new System.Drawing.Size(100, 21);
            this.dt_404.TabIndex = 213;
            // 
            // dt_403
            // 
            this.dt_403.Location = new System.Drawing.Point(332, 361);
            this.dt_403.Name = "dt_403";
            this.dt_403.Size = new System.Drawing.Size(100, 21);
            this.dt_403.TabIndex = 212;
            // 
            // dt_402
            // 
            this.dt_402.Location = new System.Drawing.Point(191, 361);
            this.dt_402.Name = "dt_402";
            this.dt_402.Size = new System.Drawing.Size(100, 21);
            this.dt_402.TabIndex = 211;
            // 
            // dt_401
            // 
            this.dt_401.Location = new System.Drawing.Point(50, 361);
            this.dt_401.Name = "dt_401";
            this.dt_401.Size = new System.Drawing.Size(100, 21);
            this.dt_401.TabIndex = 210;
            // 
            // dt_203
            // 
            this.dt_203.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.dt_203.FormattingEnabled = true;
            this.dt_203.Location = new System.Drawing.Point(525, 66);
            this.dt_203.Name = "dt_203";
            this.dt_203.Size = new System.Drawing.Size(65, 20);
            this.dt_203.TabIndex = 209;
            // 
            // dt_202
            // 
            this.dt_202.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.dt_202.FormattingEnabled = true;
            this.dt_202.Location = new System.Drawing.Point(525, 40);
            this.dt_202.Name = "dt_202";
            this.dt_202.Size = new System.Drawing.Size(65, 20);
            this.dt_202.TabIndex = 208;
            // 
            // label57
            // 
            this.label57.AutoSize = true;
            this.label57.ForeColor = System.Drawing.Color.Red;
            this.label57.Location = new System.Drawing.Point(544, 418);
            this.label57.Name = "label57";
            this.label57.Size = new System.Drawing.Size(89, 12);
            this.label57.TabIndex = 207;
            this.label57.Text = "不懂的不要动呦";
            // 
            // label56
            // 
            this.label56.AutoSize = true;
            this.label56.Location = new System.Drawing.Point(27, 446);
            this.label56.Name = "label56";
            this.label56.Size = new System.Drawing.Size(17, 12);
            this.label56.TabIndex = 206;
            this.label56.Text = "色";
            // 
            // label55
            // 
            this.label55.AutoSize = true;
            this.label55.Location = new System.Drawing.Point(27, 418);
            this.label55.Name = "label55";
            this.label55.Size = new System.Drawing.Size(17, 12);
            this.label55.TabIndex = 205;
            this.label55.Text = "脸";
            // 
            // dt_996
            // 
            this.dt_996.Location = new System.Drawing.Point(50, 443);
            this.dt_996.Name = "dt_996";
            this.dt_996.Size = new System.Drawing.Size(488, 21);
            this.dt_996.TabIndex = 204;
            // 
            // dt_995
            // 
            this.dt_995.Location = new System.Drawing.Point(50, 415);
            this.dt_995.Name = "dt_995";
            this.dt_995.Size = new System.Drawing.Size(488, 21);
            this.dt_995.TabIndex = 203;
            // 
            // label54
            // 
            this.label54.AutoSize = true;
            this.label54.Location = new System.Drawing.Point(376, 73);
            this.label54.Name = "label54";
            this.label54.Size = new System.Drawing.Size(35, 12);
            this.label54.TabIndex = 202;
            this.label54.Text = "0刚正";
            // 
            // label53
            // 
            this.label53.AutoSize = true;
            this.label53.Location = new System.Drawing.Point(378, 45);
            this.label53.Name = "label53";
            this.label53.Size = new System.Drawing.Size(35, 12);
            this.label53.TabIndex = 201;
            this.label53.Text = "0非人";
            // 
            // label52
            // 
            this.label52.AutoSize = true;
            this.label52.Location = new System.Drawing.Point(428, 95);
            this.label52.Name = "label52";
            this.label52.Size = new System.Drawing.Size(95, 12);
            this.label52.TabIndex = 200;
            this.label52.Text = "2均衡3早熟4晚成";
            // 
            // label51
            // 
            this.label51.AutoSize = true;
            this.label51.Location = new System.Drawing.Point(428, 69);
            this.label51.Name = "label51";
            this.label51.Size = new System.Drawing.Size(29, 12);
            this.label51.TabIndex = 199;
            this.label51.Text = "功法";
            // 
            // dt_551
            // 
            this.dt_551.Location = new System.Drawing.Point(460, 40);
            this.dt_551.Name = "dt_551";
            this.dt_551.Size = new System.Drawing.Size(43, 21);
            this.dt_551.TabIndex = 198;
            this.dt_551.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label50
            // 
            this.label50.AutoSize = true;
            this.label50.Location = new System.Drawing.Point(428, 44);
            this.label50.Name = "label50";
            this.label50.Size = new System.Drawing.Size(29, 12);
            this.label50.TabIndex = 197;
            this.label50.Text = "技艺";
            // 
            // label49
            // 
            this.label49.AutoSize = true;
            this.label49.Location = new System.Drawing.Point(287, 99);
            this.label49.Name = "label49";
            this.label49.Size = new System.Drawing.Size(29, 12);
            this.label49.TabIndex = 196;
            this.label49.Text = "声望";
            // 
            // dt_18
            // 
            this.dt_18.Location = new System.Drawing.Point(322, 96);
            this.dt_18.Name = "dt_18";
            this.dt_18.Size = new System.Drawing.Size(50, 21);
            this.dt_18.TabIndex = 195;
            this.dt_18.TextChanged += new System.EventHandler(this.dt_18_TextChanged);
            // 
            // dt_651
            // 
            this.dt_651.Location = new System.Drawing.Point(460, 66);
            this.dt_651.Name = "dt_651";
            this.dt_651.Size = new System.Drawing.Size(43, 21);
            this.dt_651.TabIndex = 194;
            // 
            // label48
            // 
            this.label48.AutoSize = true;
            this.label48.Location = new System.Drawing.Point(287, 45);
            this.label48.Name = "label48";
            this.label48.Size = new System.Drawing.Size(29, 12);
            this.label48.TabIndex = 193;
            this.label48.Text = "魅力";
            // 
            // dt_15
            // 
            this.dt_15.Location = new System.Drawing.Point(322, 42);
            this.dt_15.Name = "dt_15";
            this.dt_15.Size = new System.Drawing.Size(50, 21);
            this.dt_15.TabIndex = 192;
            this.dt_15.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_15.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label47
            // 
            this.label47.Location = new System.Drawing.Point(289, 44);
            this.label47.Name = "label47";
            this.label47.Size = new System.Drawing.Size(100, 23);
            this.label47.TabIndex = 191;
            // 
            // dt_16
            // 
            this.dt_16.Location = new System.Drawing.Point(322, 70);
            this.dt_16.Name = "dt_16";
            this.dt_16.Size = new System.Drawing.Size(50, 21);
            this.dt_16.TabIndex = 190;
            this.dt_16.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_16.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label46
            // 
            this.label46.AutoSize = true;
            this.label46.Location = new System.Drawing.Point(287, 73);
            this.label46.Name = "label46";
            this.label46.Size = new System.Drawing.Size(29, 12);
            this.label46.TabIndex = 189;
            this.label46.Text = "善恶";
            // 
            // actor_id
            // 
            this.actor_id.ForeColor = System.Drawing.Color.Red;
            this.actor_id.Location = new System.Drawing.Point(599, 3);
            this.actor_id.Name = "actor_id";
            this.actor_id.ReadOnly = true;
            this.actor_id.Size = new System.Drawing.Size(70, 21);
            this.actor_id.TabIndex = 188;
            // 
            // btn_savesx
            // 
            this.btn_savesx.Location = new System.Drawing.Point(544, 288);
            this.btn_savesx.Name = "btn_savesx";
            this.btn_savesx.Size = new System.Drawing.Size(75, 23);
            this.btn_savesx.TabIndex = 187;
            this.btn_savesx.Text = "保存";
            this.btn_savesx.UseVisualStyleBackColor = true;
            this.btn_savesx.Visible = false;
            this.btn_savesx.Click += new System.EventHandler(this.btn_savesx_Click);
            // 
            // label39
            // 
            this.label39.AutoEllipsis = true;
            this.label39.Location = new System.Drawing.Point(428, 312);
            this.label39.Name = "label39";
            this.label39.Size = new System.Drawing.Size(162, 49);
            this.label39.TabIndex = 186;
            this.label39.Text = "概率基本和游戏差不多，打勾可以保底（实际就是特质）";
            // 
            // ck_trzh
            // 
            this.ck_trzh.AutoSize = true;
            this.ck_trzh.Location = new System.Drawing.Point(341, 339);
            this.ck_trzh.Name = "ck_trzh";
            this.ck_trzh.Size = new System.Drawing.Size(72, 16);
            this.ck_trzh.TabIndex = 185;
            this.ck_trzh.Text = "天人造化";
            this.ck_trzh.UseVisualStyleBackColor = true;
            // 
            // ck_tgkw
            // 
            this.ck_tgkw.AutoSize = true;
            this.ck_tgkw.Location = new System.Drawing.Point(263, 339);
            this.ck_tgkw.Name = "ck_tgkw";
            this.ck_tgkw.Size = new System.Drawing.Size(72, 16);
            this.ck_tgkw.TabIndex = 184;
            this.ck_tgkw.Text = "天工开物";
            this.ck_tgkw.UseVisualStyleBackColor = true;
            // 
            // ck_yxxp
            // 
            this.ck_yxxp.AutoSize = true;
            this.ck_yxxp.Location = new System.Drawing.Point(185, 339);
            this.ck_yxxp.Name = "ck_yxxp";
            this.ck_yxxp.Size = new System.Drawing.Size(72, 16);
            this.ck_yxxp.TabIndex = 183;
            this.ck_yxxp.Text = "医相星卜";
            this.ck_yxxp.UseVisualStyleBackColor = true;
            // 
            // ck_yrzr
            // 
            this.ck_yrzr.AutoSize = true;
            this.ck_yrzr.Location = new System.Drawing.Point(107, 339);
            this.ck_yrzr.Name = "ck_yrzr";
            this.ck_yrzr.Size = new System.Drawing.Size(72, 16);
            this.ck_yrzr.TabIndex = 182;
            this.ck_yrzr.Text = "一任自然";
            this.ck_yrzr.UseVisualStyleBackColor = true;
            // 
            // ck_qqsh
            // 
            this.ck_qqsh.AutoSize = true;
            this.ck_qqsh.Location = new System.Drawing.Point(29, 339);
            this.ck_qqsh.Name = "ck_qqsh";
            this.ck_qqsh.Size = new System.Drawing.Size(72, 16);
            this.ck_qqsh.TabIndex = 181;
            this.ck_qqsh.Text = "琴棋书画";
            this.ck_qqsh.UseVisualStyleBackColor = true;
            // 
            // ck_66
            // 
            this.ck_66.AutoSize = true;
            this.ck_66.Location = new System.Drawing.Point(241, 99);
            this.ck_66.Name = "ck_66";
            this.ck_66.Size = new System.Drawing.Size(15, 14);
            this.ck_66.TabIndex = 180;
            this.ck_66.UseVisualStyleBackColor = true;
            // 
            // ck_65
            // 
            this.ck_65.AutoSize = true;
            this.ck_65.Location = new System.Drawing.Point(241, 72);
            this.ck_65.Name = "ck_65";
            this.ck_65.Size = new System.Drawing.Size(15, 14);
            this.ck_65.TabIndex = 179;
            this.ck_65.UseVisualStyleBackColor = true;
            // 
            // ck_64
            // 
            this.ck_64.AutoSize = true;
            this.ck_64.Location = new System.Drawing.Point(241, 45);
            this.ck_64.Name = "ck_64";
            this.ck_64.Size = new System.Drawing.Size(15, 14);
            this.ck_64.TabIndex = 178;
            this.ck_64.UseVisualStyleBackColor = true;
            // 
            // ck_63
            // 
            this.ck_63.AutoSize = true;
            this.ck_63.Location = new System.Drawing.Point(107, 99);
            this.ck_63.Name = "ck_63";
            this.ck_63.Size = new System.Drawing.Size(15, 14);
            this.ck_63.TabIndex = 177;
            this.ck_63.UseVisualStyleBackColor = true;
            // 
            // ck_62
            // 
            this.ck_62.AutoSize = true;
            this.ck_62.Location = new System.Drawing.Point(107, 72);
            this.ck_62.Name = "ck_62";
            this.ck_62.Size = new System.Drawing.Size(15, 14);
            this.ck_62.TabIndex = 176;
            this.ck_62.UseVisualStyleBackColor = true;
            // 
            // ck_61
            // 
            this.ck_61.AutoSize = true;
            this.ck_61.Location = new System.Drawing.Point(107, 45);
            this.ck_61.Name = "ck_61";
            this.ck_61.Size = new System.Drawing.Size(15, 14);
            this.ck_61.TabIndex = 175;
            this.ck_61.UseVisualStyleBackColor = true;
            // 
            // dt_11
            // 
            this.dt_11.Location = new System.Drawing.Point(216, 14);
            this.dt_11.Name = "dt_11";
            this.dt_11.Size = new System.Drawing.Size(44, 21);
            this.dt_11.TabIndex = 174;
            this.dt_11.TextChanged += new System.EventHandler(this.dt_11_TextChanged);
            this.dt_11.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // btn_random
            // 
            this.btn_random.Location = new System.Drawing.Point(463, 288);
            this.btn_random.Name = "btn_random";
            this.btn_random.Size = new System.Drawing.Size(75, 23);
            this.btn_random.TabIndex = 173;
            this.btn_random.Text = "随机";
            this.btn_random.UseVisualStyleBackColor = true;
            this.btn_random.Click += new System.EventHandler(this.btn_random_Click);
            // 
            // label38
            // 
            this.label38.AutoSize = true;
            this.label38.Location = new System.Drawing.Point(181, 18);
            this.label38.Name = "label38";
            this.label38.Size = new System.Drawing.Size(29, 12);
            this.label38.TabIndex = 172;
            this.label38.Text = "寿命";
            // 
            // dt_13
            // 
            this.dt_13.Location = new System.Drawing.Point(316, 15);
            this.dt_13.Name = "dt_13";
            this.dt_13.Size = new System.Drawing.Size(42, 21);
            this.dt_13.TabIndex = 171;
            this.dt_13.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_13.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // dt_12
            // 
            this.dt_12.Location = new System.Drawing.Point(266, 15);
            this.dt_12.Name = "dt_12";
            this.dt_12.Size = new System.Drawing.Size(44, 21);
            this.dt_12.TabIndex = 170;
            this.dt_12.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_12.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label37
            // 
            this.label37.AutoSize = true;
            this.label37.Location = new System.Drawing.Point(15, 17);
            this.label37.Name = "label37";
            this.label37.Size = new System.Drawing.Size(29, 12);
            this.label37.TabIndex = 169;
            this.label37.Text = "姓名";
            // 
            // dt_611
            // 
            this.dt_611.Location = new System.Drawing.Point(322, 231);
            this.dt_611.Name = "dt_611";
            this.dt_611.Size = new System.Drawing.Size(100, 21);
            this.dt_611.TabIndex = 168;
            this.dt_611.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_611.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // dt_610
            // 
            this.dt_610.Location = new System.Drawing.Point(322, 204);
            this.dt_610.Name = "dt_610";
            this.dt_610.Size = new System.Drawing.Size(100, 21);
            this.dt_610.TabIndex = 167;
            this.dt_610.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_610.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label23
            // 
            this.label23.AutoSize = true;
            this.label23.Location = new System.Drawing.Point(287, 207);
            this.label23.Name = "label23";
            this.label23.Size = new System.Drawing.Size(29, 12);
            this.label23.TabIndex = 166;
            this.label23.Text = "长兵";
            // 
            // label24
            // 
            this.label24.AutoSize = true;
            this.label24.Location = new System.Drawing.Point(287, 234);
            this.label24.Name = "label24";
            this.label24.Size = new System.Drawing.Size(29, 12);
            this.label24.TabIndex = 165;
            this.label24.Text = "奇门";
            // 
            // dt_607
            // 
            this.dt_607.Location = new System.Drawing.Point(322, 123);
            this.dt_607.Name = "dt_607";
            this.dt_607.Size = new System.Drawing.Size(100, 21);
            this.dt_607.TabIndex = 164;
            this.dt_607.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_607.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label25
            // 
            this.label25.AutoSize = true;
            this.label25.Location = new System.Drawing.Point(287, 126);
            this.label25.Name = "label25";
            this.label25.Size = new System.Drawing.Size(29, 12);
            this.label25.TabIndex = 163;
            this.label25.Text = "暗器";
            // 
            // dt_609
            // 
            this.dt_609.Location = new System.Drawing.Point(322, 177);
            this.dt_609.Name = "dt_609";
            this.dt_609.Size = new System.Drawing.Size(100, 21);
            this.dt_609.TabIndex = 162;
            this.dt_609.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_609.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // dt_608
            // 
            this.dt_608.Location = new System.Drawing.Point(322, 150);
            this.dt_608.Name = "dt_608";
            this.dt_608.Size = new System.Drawing.Size(100, 21);
            this.dt_608.TabIndex = 161;
            this.dt_608.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_608.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label26
            // 
            this.label26.AutoSize = true;
            this.label26.Location = new System.Drawing.Point(428, 234);
            this.label26.Name = "label26";
            this.label26.Size = new System.Drawing.Size(29, 12);
            this.label26.TabIndex = 160;
            this.label26.Text = "指法";
            // 
            // dt_605
            // 
            this.dt_605.Location = new System.Drawing.Point(463, 234);
            this.dt_605.Name = "dt_605";
            this.dt_605.Size = new System.Drawing.Size(100, 21);
            this.dt_605.TabIndex = 159;
            this.dt_605.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_605.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label27
            // 
            this.label27.AutoSize = true;
            this.label27.Location = new System.Drawing.Point(287, 180);
            this.label27.Name = "label27";
            this.label27.Size = new System.Drawing.Size(29, 12);
            this.label27.TabIndex = 158;
            this.label27.Text = "刀法";
            // 
            // label28
            // 
            this.label28.AutoSize = true;
            this.label28.Location = new System.Drawing.Point(287, 153);
            this.label28.Name = "label28";
            this.label28.Size = new System.Drawing.Size(29, 12);
            this.label28.TabIndex = 157;
            this.label28.Text = "剑法";
            this.label28.DoubleClick += new System.EventHandler(this.label28_DoubleClick);
            // 
            // dt_614
            // 
            this.dt_614.Location = new System.Drawing.Point(322, 312);
            this.dt_614.Name = "dt_614";
            this.dt_614.Size = new System.Drawing.Size(100, 21);
            this.dt_614.TabIndex = 156;
            this.dt_614.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_614.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // dt_613
            // 
            this.dt_613.Location = new System.Drawing.Point(322, 285);
            this.dt_613.Name = "dt_613";
            this.dt_613.Size = new System.Drawing.Size(100, 21);
            this.dt_613.TabIndex = 155;
            this.dt_613.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_613.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label29
            // 
            this.label29.AutoSize = true;
            this.label29.Location = new System.Drawing.Point(287, 315);
            this.label29.Name = "label29";
            this.label29.Size = new System.Drawing.Size(29, 12);
            this.label29.TabIndex = 154;
            this.label29.Text = "乐器";
            // 
            // dt_612
            // 
            this.dt_612.Location = new System.Drawing.Point(322, 258);
            this.dt_612.Name = "dt_612";
            this.dt_612.Size = new System.Drawing.Size(100, 21);
            this.dt_612.TabIndex = 153;
            this.dt_612.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_612.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label30
            // 
            this.label30.AutoSize = true;
            this.label30.Location = new System.Drawing.Point(428, 261);
            this.label30.Name = "label30";
            this.label30.Size = new System.Drawing.Size(29, 12);
            this.label30.TabIndex = 152;
            this.label30.Text = "腿法";
            // 
            // dt_606
            // 
            this.dt_606.Location = new System.Drawing.Point(463, 261);
            this.dt_606.Name = "dt_606";
            this.dt_606.Size = new System.Drawing.Size(100, 21);
            this.dt_606.TabIndex = 151;
            this.dt_606.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_606.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label31
            // 
            this.label31.AutoSize = true;
            this.label31.Location = new System.Drawing.Point(287, 261);
            this.label31.Name = "label31";
            this.label31.Size = new System.Drawing.Size(29, 12);
            this.label31.TabIndex = 150;
            this.label31.Text = "软兵";
            // 
            // label32
            // 
            this.label32.AutoSize = true;
            this.label32.Location = new System.Drawing.Point(287, 288);
            this.label32.Name = "label32";
            this.label32.Size = new System.Drawing.Size(29, 12);
            this.label32.TabIndex = 149;
            this.label32.Text = "御射";
            // 
            // dt_604
            // 
            this.dt_604.Location = new System.Drawing.Point(463, 207);
            this.dt_604.Name = "dt_604";
            this.dt_604.Size = new System.Drawing.Size(100, 21);
            this.dt_604.TabIndex = 148;
            this.dt_604.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_604.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // dt_603
            // 
            this.dt_603.Location = new System.Drawing.Point(463, 180);
            this.dt_603.Name = "dt_603";
            this.dt_603.Size = new System.Drawing.Size(100, 21);
            this.dt_603.TabIndex = 147;
            this.dt_603.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_603.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label33
            // 
            this.label33.AutoSize = true;
            this.label33.Location = new System.Drawing.Point(428, 207);
            this.label33.Name = "label33";
            this.label33.Size = new System.Drawing.Size(29, 12);
            this.label33.TabIndex = 146;
            this.label33.Text = "拳掌";
            // 
            // dt_602
            // 
            this.dt_602.Location = new System.Drawing.Point(463, 153);
            this.dt_602.Name = "dt_602";
            this.dt_602.Size = new System.Drawing.Size(100, 21);
            this.dt_602.TabIndex = 145;
            this.dt_602.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_602.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label34
            // 
            this.label34.AutoSize = true;
            this.label34.Location = new System.Drawing.Point(428, 180);
            this.label34.Name = "label34";
            this.label34.Size = new System.Drawing.Size(29, 12);
            this.label34.TabIndex = 144;
            this.label34.Text = "绝技";
            // 
            // dt_601
            // 
            this.dt_601.Location = new System.Drawing.Point(463, 126);
            this.dt_601.Name = "dt_601";
            this.dt_601.Size = new System.Drawing.Size(100, 21);
            this.dt_601.TabIndex = 143;
            this.dt_601.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_601.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label35
            // 
            this.label35.AutoSize = true;
            this.label35.Location = new System.Drawing.Point(428, 153);
            this.label35.Name = "label35";
            this.label35.Size = new System.Drawing.Size(29, 12);
            this.label35.TabIndex = 142;
            this.label35.Text = "身法";
            // 
            // label36
            // 
            this.label36.AutoSize = true;
            this.label36.Location = new System.Drawing.Point(428, 126);
            this.label36.Name = "label36";
            this.label36.Size = new System.Drawing.Size(29, 12);
            this.label36.TabIndex = 141;
            this.label36.Text = "内功";
            // 
            // dt_0
            // 
            this.dt_0.ImeMode = System.Windows.Forms.ImeMode.HangulFull;
            this.dt_0.Location = new System.Drawing.Point(107, 15);
            this.dt_0.Name = "dt_0";
            this.dt_0.Size = new System.Drawing.Size(68, 21);
            this.dt_0.TabIndex = 140;
            // 
            // dt_5
            // 
            this.dt_5.ImeMode = System.Windows.Forms.ImeMode.HangulFull;
            this.dt_5.Location = new System.Drawing.Point(50, 15);
            this.dt_5.Name = "dt_5";
            this.dt_5.Size = new System.Drawing.Size(51, 21);
            this.dt_5.TabIndex = 139;
            // 
            // dt_512
            // 
            this.dt_512.Location = new System.Drawing.Point(181, 204);
            this.dt_512.Name = "dt_512";
            this.dt_512.Size = new System.Drawing.Size(100, 21);
            this.dt_512.TabIndex = 138;
            this.dt_512.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_512.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // dt_511
            // 
            this.dt_511.Location = new System.Drawing.Point(181, 177);
            this.dt_511.Name = "dt_511";
            this.dt_511.Size = new System.Drawing.Size(100, 21);
            this.dt_511.TabIndex = 137;
            this.dt_511.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_511.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label19
            // 
            this.label19.AutoSize = true;
            this.label19.Location = new System.Drawing.Point(158, 180);
            this.label19.Name = "label19";
            this.label19.Size = new System.Drawing.Size(17, 12);
            this.label19.TabIndex = 136;
            this.label19.Text = "织";
            // 
            // dt_508
            // 
            this.dt_508.Location = new System.Drawing.Point(50, 312);
            this.dt_508.Name = "dt_508";
            this.dt_508.Size = new System.Drawing.Size(100, 21);
            this.dt_508.TabIndex = 135;
            this.dt_508.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_508.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label20
            // 
            this.label20.AutoSize = true;
            this.label20.Location = new System.Drawing.Point(158, 207);
            this.label20.Name = "label20";
            this.label20.Size = new System.Drawing.Size(17, 12);
            this.label20.TabIndex = 134;
            this.label20.Text = "巧";
            // 
            // dt_507
            // 
            this.dt_507.Location = new System.Drawing.Point(50, 285);
            this.dt_507.Name = "dt_507";
            this.dt_507.Size = new System.Drawing.Size(100, 21);
            this.dt_507.TabIndex = 133;
            this.dt_507.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_507.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label21
            // 
            this.label21.AutoSize = true;
            this.label21.Location = new System.Drawing.Point(27, 315);
            this.label21.Name = "label21";
            this.label21.Size = new System.Drawing.Size(17, 12);
            this.label21.TabIndex = 132;
            this.label21.Text = "木";
            // 
            // label22
            // 
            this.label22.AutoSize = true;
            this.label22.Location = new System.Drawing.Point(27, 288);
            this.label22.Name = "label22";
            this.label22.Size = new System.Drawing.Size(17, 12);
            this.label22.TabIndex = 131;
            this.label22.Text = "锻";
            // 
            // dt_516
            // 
            this.dt_516.Location = new System.Drawing.Point(181, 312);
            this.dt_516.Name = "dt_516";
            this.dt_516.Size = new System.Drawing.Size(100, 21);
            this.dt_516.TabIndex = 130;
            this.dt_516.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_516.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // dt_510
            // 
            this.dt_510.Location = new System.Drawing.Point(181, 150);
            this.dt_510.Name = "dt_510";
            this.dt_510.Size = new System.Drawing.Size(100, 21);
            this.dt_510.TabIndex = 129;
            this.dt_510.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_510.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label15
            // 
            this.label15.AutoSize = true;
            this.label15.Location = new System.Drawing.Point(158, 315);
            this.label15.Name = "label15";
            this.label15.Size = new System.Drawing.Size(17, 12);
            this.label15.TabIndex = 128;
            this.label15.Text = "杂";
            // 
            // dt_509
            // 
            this.dt_509.Location = new System.Drawing.Point(181, 123);
            this.dt_509.Name = "dt_509";
            this.dt_509.Size = new System.Drawing.Size(100, 21);
            this.dt_509.TabIndex = 127;
            this.dt_509.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_509.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label16
            // 
            this.label16.AutoSize = true;
            this.label16.Location = new System.Drawing.Point(27, 234);
            this.label16.Name = "label16";
            this.label16.Size = new System.Drawing.Size(17, 12);
            this.label16.TabIndex = 126;
            this.label16.Text = "数";
            // 
            // dt_505
            // 
            this.dt_505.Location = new System.Drawing.Point(50, 231);
            this.dt_505.Name = "dt_505";
            this.dt_505.Size = new System.Drawing.Size(100, 21);
            this.dt_505.TabIndex = 125;
            this.dt_505.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_505.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label17
            // 
            this.label17.AutoSize = true;
            this.label17.Location = new System.Drawing.Point(158, 153);
            this.label17.Name = "label17";
            this.label17.Size = new System.Drawing.Size(17, 12);
            this.label17.TabIndex = 124;
            this.label17.Text = "毒";
            // 
            // label18
            // 
            this.label18.AutoSize = true;
            this.label18.Location = new System.Drawing.Point(158, 126);
            this.label18.Name = "label18";
            this.label18.Size = new System.Drawing.Size(17, 12);
            this.label18.TabIndex = 123;
            this.label18.Text = "医";
            // 
            // dt_515
            // 
            this.dt_515.Location = new System.Drawing.Point(181, 285);
            this.dt_515.Name = "dt_515";
            this.dt_515.Size = new System.Drawing.Size(100, 21);
            this.dt_515.TabIndex = 122;
            this.dt_515.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_515.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // dt_514
            // 
            this.dt_514.Location = new System.Drawing.Point(181, 258);
            this.dt_514.Name = "dt_514";
            this.dt_514.Size = new System.Drawing.Size(100, 21);
            this.dt_514.TabIndex = 121;
            this.dt_514.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_514.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label7
            // 
            this.label7.AutoSize = true;
            this.label7.Location = new System.Drawing.Point(158, 288);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(17, 12);
            this.label7.TabIndex = 120;
            this.label7.Text = "厨";
            // 
            // dt_513
            // 
            this.dt_513.Location = new System.Drawing.Point(181, 231);
            this.dt_513.Name = "dt_513";
            this.dt_513.Size = new System.Drawing.Size(100, 21);
            this.dt_513.TabIndex = 119;
            this.dt_513.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_513.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label8
            // 
            this.label8.AutoSize = true;
            this.label8.Location = new System.Drawing.Point(27, 261);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(17, 12);
            this.label8.TabIndex = 118;
            this.label8.Text = "品";
            // 
            // dt_506
            // 
            this.dt_506.Location = new System.Drawing.Point(50, 258);
            this.dt_506.Name = "dt_506";
            this.dt_506.Size = new System.Drawing.Size(100, 21);
            this.dt_506.TabIndex = 117;
            this.dt_506.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_506.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label13
            // 
            this.label13.AutoSize = true;
            this.label13.Location = new System.Drawing.Point(158, 234);
            this.label13.Name = "label13";
            this.label13.Size = new System.Drawing.Size(17, 12);
            this.label13.TabIndex = 116;
            this.label13.Text = "道";
            // 
            // label14
            // 
            this.label14.AutoSize = true;
            this.label14.Location = new System.Drawing.Point(158, 261);
            this.label14.Name = "label14";
            this.label14.Size = new System.Drawing.Size(17, 12);
            this.label14.TabIndex = 115;
            this.label14.Text = "佛";
            // 
            // dt_504
            // 
            this.dt_504.Location = new System.Drawing.Point(50, 204);
            this.dt_504.Name = "dt_504";
            this.dt_504.Size = new System.Drawing.Size(100, 21);
            this.dt_504.TabIndex = 114;
            this.dt_504.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_504.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // dt_503
            // 
            this.dt_503.Location = new System.Drawing.Point(50, 177);
            this.dt_503.Name = "dt_503";
            this.dt_503.Size = new System.Drawing.Size(100, 21);
            this.dt_503.TabIndex = 113;
            this.dt_503.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_503.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label9
            // 
            this.label9.AutoSize = true;
            this.label9.Location = new System.Drawing.Point(27, 207);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(17, 12);
            this.label9.TabIndex = 112;
            this.label9.Text = "画";
            // 
            // dt_502
            // 
            this.dt_502.Location = new System.Drawing.Point(50, 150);
            this.dt_502.Name = "dt_502";
            this.dt_502.Size = new System.Drawing.Size(100, 21);
            this.dt_502.TabIndex = 111;
            this.dt_502.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_502.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label10
            // 
            this.label10.AutoSize = true;
            this.label10.Location = new System.Drawing.Point(27, 180);
            this.label10.Name = "label10";
            this.label10.Size = new System.Drawing.Size(17, 12);
            this.label10.TabIndex = 110;
            this.label10.Text = "书";
            // 
            // dt_501
            // 
            this.dt_501.Location = new System.Drawing.Point(50, 123);
            this.dt_501.Name = "dt_501";
            this.dt_501.Size = new System.Drawing.Size(100, 21);
            this.dt_501.TabIndex = 109;
            this.dt_501.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_501.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label11
            // 
            this.label11.AutoSize = true;
            this.label11.Location = new System.Drawing.Point(27, 153);
            this.label11.Name = "label11";
            this.label11.Size = new System.Drawing.Size(17, 12);
            this.label11.TabIndex = 108;
            this.label11.Text = "棋";
            // 
            // label12
            // 
            this.label12.AutoSize = true;
            this.label12.Location = new System.Drawing.Point(27, 126);
            this.label12.Name = "label12";
            this.label12.Size = new System.Drawing.Size(17, 12);
            this.label12.TabIndex = 107;
            this.label12.Text = "琴";
            // 
            // dt_65
            // 
            this.dt_65.Location = new System.Drawing.Point(181, 69);
            this.dt_65.Name = "dt_65";
            this.dt_65.Size = new System.Drawing.Size(52, 21);
            this.dt_65.TabIndex = 106;
            this.dt_65.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_65.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.label6.Location = new System.Drawing.Point(146, 72);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(29, 12);
            this.label6.TabIndex = 105;
            this.label6.Text = "悟性";
            // 
            // dt_64
            // 
            this.dt_64.Location = new System.Drawing.Point(181, 42);
            this.dt_64.Name = "dt_64";
            this.dt_64.Size = new System.Drawing.Size(52, 21);
            this.dt_64.TabIndex = 104;
            this.dt_64.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_64.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(146, 45);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(29, 12);
            this.label5.TabIndex = 103;
            this.label5.Text = "根骨";
            // 
            // dt_63
            // 
            this.dt_63.Location = new System.Drawing.Point(50, 96);
            this.dt_63.Name = "dt_63";
            this.dt_63.Size = new System.Drawing.Size(51, 21);
            this.dt_63.TabIndex = 102;
            this.dt_63.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_63.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(15, 74);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(29, 12);
            this.label4.TabIndex = 101;
            this.label4.Text = "体质";
            // 
            // dt_62
            // 
            this.dt_62.Location = new System.Drawing.Point(50, 69);
            this.dt_62.Name = "dt_62";
            this.dt_62.Size = new System.Drawing.Size(51, 21);
            this.dt_62.TabIndex = 100;
            this.dt_62.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_62.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(146, 99);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(29, 12);
            this.label3.TabIndex = 99;
            this.label3.Text = "定力";
            // 
            // dt_61
            // 
            this.dt_61.Location = new System.Drawing.Point(50, 42);
            this.dt_61.Name = "dt_61";
            this.dt_61.Size = new System.Drawing.Size(51, 21);
            this.dt_61.TabIndex = 98;
            this.dt_61.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_61.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(15, 99);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(29, 12);
            this.label2.TabIndex = 97;
            this.label2.Text = "灵敏";
            // 
            // dt_66
            // 
            this.dt_66.Location = new System.Drawing.Point(181, 96);
            this.dt_66.Name = "dt_66";
            this.dt_66.Size = new System.Drawing.Size(52, 21);
            this.dt_66.TabIndex = 96;
            this.dt_66.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.dt_66.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(15, 45);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(29, 12);
            this.label1.TabIndex = 95;
            this.label1.Text = "臂力";
            // 
            // tabPage2
            // 
            this.tabPage2.Controls.Add(this.panel_txs);
            this.tabPage2.Location = new System.Drawing.Point(4, 22);
            this.tabPage2.Name = "tabPage2";
            this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage2.Size = new System.Drawing.Size(686, 602);
            this.tabPage2.TabIndex = 1;
            this.tabPage2.Text = "特性";
            this.tabPage2.UseVisualStyleBackColor = true;
            // 
            // panel_txs
            // 
            this.panel_txs.AutoScroll = true;
            this.panel_txs.Controls.Add(this.actor_txs);
            this.panel_txs.Controls.Add(this.list_txs);
            this.panel_txs.Controls.Add(this.dt_101);
            this.panel_txs.Location = new System.Drawing.Point(9, 7);
            this.panel_txs.Name = "panel_txs";
            this.panel_txs.Size = new System.Drawing.Size(669, 575);
            this.panel_txs.TabIndex = 0;
            // 
            // actor_txs
            // 
            this.actor_txs.Location = new System.Drawing.Point(4, 32);
            this.actor_txs.MultiSelect = false;
            this.actor_txs.Name = "actor_txs";
            this.actor_txs.Size = new System.Drawing.Size(662, 120);
            this.actor_txs.TabIndex = 2;
            this.actor_txs.UseCompatibleStateImageBehavior = false;
            this.actor_txs.View = System.Windows.Forms.View.List;
            this.actor_txs.DoubleClick += new System.EventHandler(this.actor_txs_DoubleClick);
            // 
            // list_txs
            // 
            this.list_txs.Location = new System.Drawing.Point(4, 158);
            this.list_txs.Name = "list_txs";
            this.list_txs.ShowItemToolTips = true;
            this.list_txs.Size = new System.Drawing.Size(662, 414);
            this.list_txs.TabIndex = 1;
            this.list_txs.UseCompatibleStateImageBehavior = false;
            this.list_txs.View = System.Windows.Forms.View.List;
            this.list_txs.DoubleClick += new System.EventHandler(this.list_txs_DoubleClick);
            // 
            // dt_101
            // 
            this.dt_101.Location = new System.Drawing.Point(4, 4);
            this.dt_101.Name = "dt_101";
            this.dt_101.Size = new System.Drawing.Size(662, 21);
            this.dt_101.TabIndex = 0;
            // 
            // tabPage6
            // 
            this.tabPage6.Controls.Add(this.panel5);
            this.tabPage6.Location = new System.Drawing.Point(4, 22);
            this.tabPage6.Name = "tabPage6";
            this.tabPage6.Size = new System.Drawing.Size(686, 602);
            this.tabPage6.TabIndex = 5;
            this.tabPage6.Text = "功法";
            this.tabPage6.UseVisualStyleBackColor = true;
            // 
            // panel5
            // 
            this.panel5.Controls.Add(this.label69);
            this.panel5.Controls.Add(this.label68);
            this.panel5.Controls.Add(this.label67);
            this.panel5.Controls.Add(this.label66);
            this.panel5.Controls.Add(this.gf_id);
            this.panel5.Controls.Add(this.gf_forget);
            this.panel5.Controls.Add(this.gf_change);
            this.panel5.Controls.Add(this.gf_v2);
            this.panel5.Controls.Add(this.gf_v1);
            this.panel5.Controls.Add(this.gf_v0);
            this.panel5.Controls.Add(this.actor_gfs);
            this.panel5.Location = new System.Drawing.Point(4, 4);
            this.panel5.Name = "panel5";
            this.panel5.Size = new System.Drawing.Size(679, 595);
            this.panel5.TabIndex = 0;
            // 
            // label69
            // 
            this.label69.AutoSize = true;
            this.label69.ForeColor = System.Drawing.Color.Red;
            this.label69.Location = new System.Drawing.Point(430, 135);
            this.label69.Name = "label69";
            this.label69.Size = new System.Drawing.Size(77, 12);
            this.label69.TabIndex = 10;
            this.label69.Text = "正逆练(0~10)";
            // 
            // label68
            // 
            this.label68.AutoSize = true;
            this.label68.Location = new System.Drawing.Point(430, 107);
            this.label68.Name = "label68";
            this.label68.Size = new System.Drawing.Size(41, 12);
            this.label68.TabIndex = 9;
            this.label68.Text = "不知道";
            // 
            // label67
            // 
            this.label67.AutoSize = true;
            this.label67.Location = new System.Drawing.Point(430, 80);
            this.label67.Name = "label67";
            this.label67.Size = new System.Drawing.Size(41, 12);
            this.label67.TabIndex = 8;
            this.label67.Text = "熟练度";
            // 
            // label66
            // 
            this.label66.AutoSize = true;
            this.label66.Location = new System.Drawing.Point(430, 50);
            this.label66.Name = "label66";
            this.label66.Size = new System.Drawing.Size(41, 12);
            this.label66.TabIndex = 7;
            this.label66.Text = "功法Id";
            // 
            // gf_id
            // 
            this.gf_id.Location = new System.Drawing.Point(516, 47);
            this.gf_id.Name = "gf_id";
            this.gf_id.ReadOnly = true;
            this.gf_id.Size = new System.Drawing.Size(100, 21);
            this.gf_id.TabIndex = 6;
            this.gf_id.Text = "0";
            this.gf_id.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.gf_id.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // gf_forget
            // 
            this.gf_forget.Location = new System.Drawing.Point(516, 190);
            this.gf_forget.Name = "gf_forget";
            this.gf_forget.Size = new System.Drawing.Size(75, 23);
            this.gf_forget.TabIndex = 5;
            this.gf_forget.Text = "遗忘";
            this.gf_forget.UseVisualStyleBackColor = true;
            this.gf_forget.Visible = false;
            this.gf_forget.Click += new System.EventHandler(this.gf_forget_Click);
            // 
            // gf_change
            // 
            this.gf_change.Location = new System.Drawing.Point(516, 160);
            this.gf_change.Name = "gf_change";
            this.gf_change.Size = new System.Drawing.Size(75, 23);
            this.gf_change.TabIndex = 4;
            this.gf_change.Text = "修炼";
            this.gf_change.UseVisualStyleBackColor = true;
            this.gf_change.Click += new System.EventHandler(this.gf_change_Click);
            // 
            // gf_v2
            // 
            this.gf_v2.Location = new System.Drawing.Point(516, 132);
            this.gf_v2.Name = "gf_v2";
            this.gf_v2.Size = new System.Drawing.Size(100, 21);
            this.gf_v2.TabIndex = 3;
            this.gf_v2.Text = "0";
            this.gf_v2.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.gf_v2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // gf_v1
            // 
            this.gf_v1.Location = new System.Drawing.Point(516, 104);
            this.gf_v1.Name = "gf_v1";
            this.gf_v1.Size = new System.Drawing.Size(100, 21);
            this.gf_v1.TabIndex = 2;
            this.gf_v1.Text = "0";
            this.gf_v1.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.gf_v1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // gf_v0
            // 
            this.gf_v0.Location = new System.Drawing.Point(516, 77);
            this.gf_v0.Name = "gf_v0";
            this.gf_v0.Size = new System.Drawing.Size(100, 21);
            this.gf_v0.TabIndex = 1;
            this.gf_v0.Text = "0";
            this.gf_v0.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.gf_v0.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // actor_gfs
            // 
            this.actor_gfs.Location = new System.Drawing.Point(5, 4);
            this.actor_gfs.MultiSelect = false;
            this.actor_gfs.Name = "actor_gfs";
            this.actor_gfs.Size = new System.Drawing.Size(399, 533);
            this.actor_gfs.TabIndex = 0;
            this.actor_gfs.UseCompatibleStateImageBehavior = false;
            this.actor_gfs.View = System.Windows.Forms.View.List;
            this.actor_gfs.ItemSelectionChanged += new System.Windows.Forms.ListViewItemSelectionChangedEventHandler(this.actor_gfs_ItemSelectionChanged);
            // 
            // tabPage3
            // 
            this.tabPage3.Controls.Add(this.panel2);
            this.tabPage3.Location = new System.Drawing.Point(4, 22);
            this.tabPage3.Name = "tabPage3";
            this.tabPage3.Size = new System.Drawing.Size(686, 602);
            this.tabPage3.TabIndex = 2;
            this.tabPage3.Text = "物品";
            this.tabPage3.UseVisualStyleBackColor = true;
            // 
            // panel2
            // 
            this.panel2.AutoScroll = true;
            this.panel2.AutoSize = true;
            this.panel2.Controls.Add(this.btn_trytofix_item_id);
            this.panel2.Controls.Add(this.panel3);
            this.panel2.Controls.Add(this.button3);
            this.panel2.Controls.Add(this.list_items);
            this.panel2.Controls.Add(this.search);
            this.panel2.Controls.Add(this.cb_item_type);
            this.panel2.Controls.Add(this.item_name_for_search);
            this.panel2.Location = new System.Drawing.Point(4, 4);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(682, 595);
            this.panel2.TabIndex = 0;
            // 
            // btn_trytofix_item_id
            // 
            this.btn_trytofix_item_id.Location = new System.Drawing.Point(485, 4);
            this.btn_trytofix_item_id.Name = "btn_trytofix_item_id";
            this.btn_trytofix_item_id.Size = new System.Drawing.Size(75, 23);
            this.btn_trytofix_item_id.TabIndex = 14;
            this.btn_trytofix_item_id.Text = "修复物品Id";
            this.btn_trytofix_item_id.UseVisualStyleBackColor = true;
            this.btn_trytofix_item_id.Click += new System.EventHandler(this.btn_trytofix_item_id_Click);
            // 
            // panel3
            // 
            this.panel3.AutoScroll = true;
            this.panel3.AutoSize = true;
            this.panel3.Controls.Add(this.label78);
            this.panel3.Controls.Add(this.lb_num4);
            this.panel3.Controls.Add(this.lb_num3);
            this.panel3.Controls.Add(this.lb_num2);
            this.panel3.Controls.Add(this.label65);
            this.panel3.Controls.Add(this.item_7);
            this.panel3.Controls.Add(this.ck_superJunk);
            this.panel3.Controls.Add(this.ck_junk);
            this.panel3.Controls.Add(this.ck_superQuqu);
            this.panel3.Controls.Add(this.label40);
            this.panel3.Controls.Add(this.lb_item_num);
            this.panel3.Controls.Add(this.ck_all_page);
            this.panel3.Controls.Add(this.tb_item_num);
            this.panel3.Controls.Add(this.item_info);
            this.panel3.Controls.Add(this.item_name);
            this.panel3.Controls.Add(this.tb_item_id);
            this.panel3.Controls.Add(this.item_add);
            this.panel3.Location = new System.Drawing.Point(404, 33);
            this.panel3.Name = "panel3";
            this.panel3.Size = new System.Drawing.Size(275, 407);
            this.panel3.TabIndex = 13;
            // 
            // label78
            // 
            this.label78.Location = new System.Drawing.Point(9, 328);
            this.label78.Name = "label78";
            this.label78.Size = new System.Drawing.Size(260, 70);
            this.label78.TabIndex = 29;
            this.label78.Text = "  0掷    1弹    2御    3劈\r\n  4刺    5撩    6崩    7点\r\n  8拿    9音   10缠   11咒\r\n 12机   13" +
    "药   14毒   15无\r\n 16扫";
            // 
            // lb_num4
            // 
            this.lb_num4.AutoSize = true;
            this.lb_num4.Location = new System.Drawing.Point(114, 328);
            this.lb_num4.Name = "lb_num4";
            this.lb_num4.Size = new System.Drawing.Size(0, 12);
            this.lb_num4.TabIndex = 28;
            // 
            // lb_num3
            // 
            this.lb_num3.AutoSize = true;
            this.lb_num3.Location = new System.Drawing.Point(61, 328);
            this.lb_num3.Name = "lb_num3";
            this.lb_num3.Size = new System.Drawing.Size(0, 12);
            this.lb_num3.TabIndex = 27;
            // 
            // lb_num2
            // 
            this.lb_num2.AutoSize = true;
            this.lb_num2.Location = new System.Drawing.Point(3, 328);
            this.lb_num2.Name = "lb_num2";
            this.lb_num2.Size = new System.Drawing.Size(0, 12);
            this.lb_num2.TabIndex = 26;
            // 
            // label65
            // 
            this.label65.AutoSize = true;
            this.label65.Location = new System.Drawing.Point(27, 207);
            this.label65.Name = "label65";
            this.label65.Size = new System.Drawing.Size(29, 12);
            this.label65.TabIndex = 25;
            this.label65.Text = "招式";
            // 
            // item_7
            // 
            this.item_7.Location = new System.Drawing.Point(89, 204);
            this.item_7.Name = "item_7";
            this.item_7.Size = new System.Drawing.Size(100, 21);
            this.item_7.TabIndex = 24;
            // 
            // ck_superJunk
            // 
            this.ck_superJunk.AutoSize = true;
            this.ck_superJunk.ForeColor = System.Drawing.Color.Red;
            this.ck_superJunk.Location = new System.Drawing.Point(89, 274);
            this.ck_superJunk.Name = "ck_superJunk";
            this.ck_superJunk.Size = new System.Drawing.Size(48, 16);
            this.ck_superJunk.TabIndex = 23;
            this.ck_superJunk.Text = "传说";
            this.ck_superJunk.UseVisualStyleBackColor = true;
            this.ck_superJunk.Visible = false;
            // 
            // ck_junk
            // 
            this.ck_junk.AutoSize = true;
            this.ck_junk.Location = new System.Drawing.Point(89, 296);
            this.ck_junk.Name = "ck_junk";
            this.ck_junk.Size = new System.Drawing.Size(60, 16);
            this.ck_junk.TabIndex = 22;
            this.ck_junk.Text = "传家宝";
            this.ck_junk.UseVisualStyleBackColor = true;
            this.ck_junk.Visible = false;
            // 
            // ck_superQuqu
            // 
            this.ck_superQuqu.AutoSize = true;
            this.ck_superQuqu.Location = new System.Drawing.Point(89, 273);
            this.ck_superQuqu.Name = "ck_superQuqu";
            this.ck_superQuqu.Size = new System.Drawing.Size(84, 16);
            this.ck_superQuqu.TabIndex = 21;
            this.ck_superQuqu.Text = "太污蛐蛐传";
            this.ck_superQuqu.UseVisualStyleBackColor = true;
            this.ck_superQuqu.Visible = false;
            // 
            // label40
            // 
            this.label40.AutoSize = true;
            this.label40.Location = new System.Drawing.Point(27, 153);
            this.label40.Name = "label40";
            this.label40.Size = new System.Drawing.Size(41, 12);
            this.label40.TabIndex = 20;
            this.label40.Text = "物品Id";
            // 
            // lb_item_num
            // 
            this.lb_item_num.AutoSize = true;
            this.lb_item_num.Location = new System.Drawing.Point(27, 180);
            this.lb_item_num.Name = "lb_item_num";
            this.lb_item_num.Size = new System.Drawing.Size(29, 12);
            this.lb_item_num.TabIndex = 19;
            this.lb_item_num.Text = "数量";
            // 
            // ck_all_page
            // 
            this.ck_all_page.AutoSize = true;
            this.ck_all_page.Location = new System.Drawing.Point(89, 273);
            this.ck_all_page.Name = "ck_all_page";
            this.ck_all_page.Size = new System.Drawing.Size(48, 16);
            this.ck_all_page.TabIndex = 18;
            this.ck_all_page.Text = "全本";
            this.ck_all_page.UseVisualStyleBackColor = true;
            this.ck_all_page.Visible = false;
            // 
            // tb_item_num
            // 
            this.tb_item_num.Location = new System.Drawing.Point(89, 177);
            this.tb_item_num.Name = "tb_item_num";
            this.tb_item_num.Size = new System.Drawing.Size(100, 21);
            this.tb_item_num.TabIndex = 17;
            this.tb_item_num.Text = "1";
            this.tb_item_num.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.tb_item_num.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // item_info
            // 
            this.item_info.Location = new System.Drawing.Point(3, 10);
            this.item_info.Name = "item_info";
            this.item_info.Size = new System.Drawing.Size(254, 107);
            this.item_info.TabIndex = 16;
            this.item_info.Text = "说明";
            // 
            // item_name
            // 
            this.item_name.AutoSize = true;
            this.item_name.Location = new System.Drawing.Point(114, 135);
            this.item_name.Name = "item_name";
            this.item_name.Size = new System.Drawing.Size(53, 12);
            this.item_name.TabIndex = 15;
            this.item_name.Text = "物品名称";
            // 
            // tb_item_id
            // 
            this.tb_item_id.Location = new System.Drawing.Point(89, 150);
            this.tb_item_id.Name = "tb_item_id";
            this.tb_item_id.ReadOnly = true;
            this.tb_item_id.Size = new System.Drawing.Size(100, 21);
            this.tb_item_id.TabIndex = 14;
            // 
            // item_add
            // 
            this.item_add.Location = new System.Drawing.Point(89, 243);
            this.item_add.Name = "item_add";
            this.item_add.Size = new System.Drawing.Size(100, 23);
            this.item_add.TabIndex = 13;
            this.item_add.Text = "添加";
            this.item_add.UseVisualStyleBackColor = true;
            this.item_add.Click += new System.EventHandler(this.item_add_Click);
            // 
            // button3
            // 
            this.button3.Location = new System.Drawing.Point(569, 4);
            this.button3.Name = "button3";
            this.button3.Size = new System.Drawing.Size(75, 23);
            this.button3.TabIndex = 5;
            this.button3.Text = "整理背包";
            this.button3.UseVisualStyleBackColor = true;
            this.button3.Visible = false;
            // 
            // list_items
            // 
            this.list_items.BackColor = System.Drawing.SystemColors.InfoText;
            this.list_items.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
            this.list_items.Location = new System.Drawing.Point(5, 31);
            this.list_items.MultiSelect = false;
            this.list_items.Name = "list_items";
            this.list_items.Size = new System.Drawing.Size(393, 409);
            this.list_items.TabIndex = 3;
            this.list_items.UseCompatibleStateImageBehavior = false;
            this.list_items.View = System.Windows.Forms.View.List;
            this.list_items.ItemSelectionChanged += new System.Windows.Forms.ListViewItemSelectionChangedEventHandler(this.list_items_ItemSelectionChanged);
            // 
            // search
            // 
            this.search.Location = new System.Drawing.Point(323, 4);
            this.search.Name = "search";
            this.search.Size = new System.Drawing.Size(75, 23);
            this.search.TabIndex = 2;
            this.search.Text = "搜索";
            this.search.UseVisualStyleBackColor = true;
            this.search.Click += new System.EventHandler(this.search_Click);
            // 
            // cb_item_type
            // 
            this.cb_item_type.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cb_item_type.FormattingEnabled = true;
            this.cb_item_type.Location = new System.Drawing.Point(5, 4);
            this.cb_item_type.Name = "cb_item_type";
            this.cb_item_type.Size = new System.Drawing.Size(121, 20);
            this.cb_item_type.TabIndex = 1;
            this.cb_item_type.SelectedIndexChanged += new System.EventHandler(this.cb_item_type_SelectedIndexChanged);
            // 
            // item_name_for_search
            // 
            this.item_name_for_search.ImeMode = System.Windows.Forms.ImeMode.HangulFull;
            this.item_name_for_search.Location = new System.Drawing.Point(132, 4);
            this.item_name_for_search.Name = "item_name_for_search";
            this.item_name_for_search.Size = new System.Drawing.Size(185, 21);
            this.item_name_for_search.TabIndex = 0;
            this.item_name_for_search.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.item_name_for_search_KeyPress);
            // 
            // tabPage7
            // 
            this.tabPage7.Controls.Add(this.panel6);
            this.tabPage7.Location = new System.Drawing.Point(4, 22);
            this.tabPage7.Name = "tabPage7";
            this.tabPage7.Size = new System.Drawing.Size(686, 602);
            this.tabPage7.TabIndex = 6;
            this.tabPage7.Text = "商会";
            this.tabPage7.UseVisualStyleBackColor = true;
            // 
            // panel6
            // 
            this.panel6.Controls.Add(this.ssm_6);
            this.panel6.Controls.Add(this.ssl_6);
            this.panel6.Controls.Add(this.ssm_5);
            this.panel6.Controls.Add(this.ssl_5);
            this.panel6.Controls.Add(this.ssm_4);
            this.panel6.Controls.Add(this.ssl_4);
            this.panel6.Controls.Add(this.ssm_3);
            this.panel6.Controls.Add(this.ssl_3);
            this.panel6.Controls.Add(this.ssm_2);
            this.panel6.Controls.Add(this.ssl_2);
            this.panel6.Controls.Add(this.ssm_1);
            this.panel6.Controls.Add(this.ssl_1);
            this.panel6.Controls.Add(this.ssm_0);
            this.panel6.Controls.Add(this.ssl_0);
            this.panel6.Controls.Add(this.label90);
            this.panel6.Controls.Add(this.label89);
            this.panel6.Controls.Add(this.label88);
            this.panel6.Controls.Add(this.label87);
            this.panel6.Controls.Add(this.label86);
            this.panel6.Controls.Add(this.label85);
            this.panel6.Controls.Add(this.label84);
            this.panel6.Controls.Add(this.label83);
            this.panel6.Controls.Add(this.label82);
            this.panel6.Location = new System.Drawing.Point(8, 3);
            this.panel6.Name = "panel6";
            this.panel6.Size = new System.Drawing.Size(670, 509);
            this.panel6.TabIndex = 0;
            // 
            // ssm_6
            // 
            this.ssm_6.Location = new System.Drawing.Point(220, 210);
            this.ssm_6.Name = "ssm_6";
            this.ssm_6.Size = new System.Drawing.Size(100, 21);
            this.ssm_6.TabIndex = 22;
            this.ssm_6.Text = "0";
            this.ssm_6.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.ssm_6.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // ssl_6
            // 
            this.ssl_6.Location = new System.Drawing.Point(113, 210);
            this.ssl_6.Name = "ssl_6";
            this.ssl_6.Size = new System.Drawing.Size(100, 21);
            this.ssl_6.TabIndex = 21;
            this.ssl_6.Text = "0";
            this.ssl_6.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.ssl_6.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // ssm_5
            // 
            this.ssm_5.Location = new System.Drawing.Point(220, 183);
            this.ssm_5.Name = "ssm_5";
            this.ssm_5.Size = new System.Drawing.Size(100, 21);
            this.ssm_5.TabIndex = 20;
            this.ssm_5.Text = "0";
            this.ssm_5.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.ssm_5.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // ssl_5
            // 
            this.ssl_5.Location = new System.Drawing.Point(113, 183);
            this.ssl_5.Name = "ssl_5";
            this.ssl_5.Size = new System.Drawing.Size(100, 21);
            this.ssl_5.TabIndex = 19;
            this.ssl_5.Text = "0";
            this.ssl_5.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.ssl_5.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // ssm_4
            // 
            this.ssm_4.Location = new System.Drawing.Point(220, 156);
            this.ssm_4.Name = "ssm_4";
            this.ssm_4.Size = new System.Drawing.Size(100, 21);
            this.ssm_4.TabIndex = 18;
            this.ssm_4.Text = "0";
            this.ssm_4.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.ssm_4.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // ssl_4
            // 
            this.ssl_4.Location = new System.Drawing.Point(113, 156);
            this.ssl_4.Name = "ssl_4";
            this.ssl_4.Size = new System.Drawing.Size(100, 21);
            this.ssl_4.TabIndex = 17;
            this.ssl_4.Text = "0";
            this.ssl_4.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.ssl_4.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // ssm_3
            // 
            this.ssm_3.Location = new System.Drawing.Point(220, 129);
            this.ssm_3.Name = "ssm_3";
            this.ssm_3.Size = new System.Drawing.Size(100, 21);
            this.ssm_3.TabIndex = 16;
            this.ssm_3.Text = "0";
            this.ssm_3.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.ssm_3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // ssl_3
            // 
            this.ssl_3.Location = new System.Drawing.Point(113, 129);
            this.ssl_3.Name = "ssl_3";
            this.ssl_3.Size = new System.Drawing.Size(100, 21);
            this.ssl_3.TabIndex = 15;
            this.ssl_3.Text = "0";
            this.ssl_3.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.ssl_3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // ssm_2
            // 
            this.ssm_2.Location = new System.Drawing.Point(220, 102);
            this.ssm_2.Name = "ssm_2";
            this.ssm_2.Size = new System.Drawing.Size(100, 21);
            this.ssm_2.TabIndex = 14;
            this.ssm_2.Text = "0";
            this.ssm_2.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.ssm_2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // ssl_2
            // 
            this.ssl_2.Location = new System.Drawing.Point(113, 102);
            this.ssl_2.Name = "ssl_2";
            this.ssl_2.Size = new System.Drawing.Size(100, 21);
            this.ssl_2.TabIndex = 13;
            this.ssl_2.Text = "0";
            this.ssl_2.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.ssl_2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // ssm_1
            // 
            this.ssm_1.Location = new System.Drawing.Point(220, 75);
            this.ssm_1.Name = "ssm_1";
            this.ssm_1.Size = new System.Drawing.Size(100, 21);
            this.ssm_1.TabIndex = 12;
            this.ssm_1.Text = "0";
            this.ssm_1.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.ssm_1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // ssl_1
            // 
            this.ssl_1.Location = new System.Drawing.Point(113, 75);
            this.ssl_1.Name = "ssl_1";
            this.ssl_1.Size = new System.Drawing.Size(100, 21);
            this.ssl_1.TabIndex = 11;
            this.ssl_1.Text = "0";
            this.ssl_1.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.ssl_1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // ssm_0
            // 
            this.ssm_0.Location = new System.Drawing.Point(220, 48);
            this.ssm_0.Name = "ssm_0";
            this.ssm_0.Size = new System.Drawing.Size(100, 21);
            this.ssm_0.TabIndex = 10;
            this.ssm_0.Text = "0";
            this.ssm_0.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.ssm_0.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // ssl_0
            // 
            this.ssl_0.Location = new System.Drawing.Point(113, 48);
            this.ssl_0.Name = "ssl_0";
            this.ssl_0.Size = new System.Drawing.Size(100, 21);
            this.ssl_0.TabIndex = 9;
            this.ssl_0.Text = "0";
            this.ssl_0.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.ssl_0.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label90
            // 
            this.label90.AutoSize = true;
            this.label90.Location = new System.Drawing.Point(42, 213);
            this.label90.Name = "label90";
            this.label90.Size = new System.Drawing.Size(41, 12);
            this.label90.TabIndex = 8;
            this.label90.Text = "奇货斋";
            // 
            // label89
            // 
            this.label89.AutoSize = true;
            this.label89.Location = new System.Drawing.Point(42, 186);
            this.label89.Name = "label89";
            this.label89.Size = new System.Drawing.Size(41, 12);
            this.label89.TabIndex = 7;
            this.label89.Text = "公输坊";
            // 
            // label88
            // 
            this.label88.AutoSize = true;
            this.label88.Location = new System.Drawing.Point(42, 159);
            this.label88.Name = "label88";
            this.label88.Size = new System.Drawing.Size(41, 12);
            this.label88.TabIndex = 6;
            this.label88.Text = "回春堂";
            // 
            // label87
            // 
            this.label87.AutoSize = true;
            this.label87.Location = new System.Drawing.Point(42, 132);
            this.label87.Name = "label87";
            this.label87.Size = new System.Drawing.Size(65, 12);
            this.label87.TabIndex = 5;
            this.label87.Text = "大武魁商会";
            // 
            // label86
            // 
            this.label86.AutoSize = true;
            this.label86.Location = new System.Drawing.Point(42, 105);
            this.label86.Name = "label86";
            this.label86.Size = new System.Drawing.Size(53, 12);
            this.label86.TabIndex = 4;
            this.label86.Text = "五湖商会";
            // 
            // label85
            // 
            this.label85.AutoSize = true;
            this.label85.Location = new System.Drawing.Point(42, 78);
            this.label85.Name = "label85";
            this.label85.Size = new System.Drawing.Size(65, 12);
            this.label85.TabIndex = 3;
            this.label85.Text = "文山书海阁";
            // 
            // label84
            // 
            this.label84.AutoSize = true;
            this.label84.Location = new System.Drawing.Point(42, 51);
            this.label84.Name = "label84";
            this.label84.Size = new System.Drawing.Size(41, 12);
            this.label84.TabIndex = 2;
            this.label84.Text = "服牛帮";
            // 
            // label83
            // 
            this.label83.AutoSize = true;
            this.label83.Location = new System.Drawing.Point(244, 33);
            this.label83.Name = "label83";
            this.label83.Size = new System.Drawing.Size(29, 12);
            this.label83.TabIndex = 1;
            this.label83.Text = "银钱";
            // 
            // label82
            // 
            this.label82.AutoSize = true;
            this.label82.Location = new System.Drawing.Point(136, 33);
            this.label82.Name = "label82";
            this.label82.Size = new System.Drawing.Size(29, 12);
            this.label82.TabIndex = 0;
            this.label82.Text = "好感";
            // 
            // tabPage4
            // 
            this.tabPage4.Controls.Add(this.btn_search_buildingIds);
            this.tabPage4.Controls.Add(this.building_name_for_search);
            this.tabPage4.Controls.Add(this.ck_only_twc);
            this.tabPage4.Controls.Add(this.ck_building_types);
            this.tabPage4.Controls.Add(this.listView1);
            this.tabPage4.Controls.Add(this.ck_max_level);
            this.tabPage4.Controls.Add(this.label43);
            this.tabPage4.Controls.Add(this.label77);
            this.tabPage4.Controls.Add(this.homeFavorAdd);
            this.tabPage4.Controls.Add(this.label45);
            this.tabPage4.Controls.Add(this.label44);
            this.tabPage4.Controls.Add(this.label42);
            this.tabPage4.Controls.Add(this.building_type);
            this.tabPage4.Controls.Add(this.building_id);
            this.tabPage4.Controls.Add(this.list_building_value);
            this.tabPage4.Controls.Add(this.building_index);
            this.tabPage4.Controls.Add(this.change_building);
            this.tabPage4.Controls.Add(this.building_level);
            this.tabPage4.Controls.Add(this.building_ids);
            this.tabPage4.Controls.Add(this.buildings);
            this.tabPage4.Controls.Add(this.placeIds);
            this.tabPage4.Controls.Add(this.partIds);
            this.tabPage4.Controls.Add(this.mianActorPlaceId);
            this.tabPage4.Controls.Add(this.mianActor_partId);
            this.tabPage4.Controls.Add(this.label41);
            this.tabPage4.Location = new System.Drawing.Point(4, 22);
            this.tabPage4.Name = "tabPage4";
            this.tabPage4.Size = new System.Drawing.Size(686, 602);
            this.tabPage4.TabIndex = 3;
            this.tabPage4.Text = "山村";
            this.tabPage4.UseVisualStyleBackColor = true;
            // 
            // btn_search_buildingIds
            // 
            this.btn_search_buildingIds.Location = new System.Drawing.Point(641, 104);
            this.btn_search_buildingIds.Name = "btn_search_buildingIds";
            this.btn_search_buildingIds.Size = new System.Drawing.Size(37, 23);
            this.btn_search_buildingIds.TabIndex = 24;
            this.btn_search_buildingIds.Text = "筛选";
            this.btn_search_buildingIds.UseVisualStyleBackColor = true;
            this.btn_search_buildingIds.Click += new System.EventHandler(this.btn_search_buildingIds_Click);
            // 
            // building_name_for_search
            // 
            this.building_name_for_search.Location = new System.Drawing.Point(537, 104);
            this.building_name_for_search.Name = "building_name_for_search";
            this.building_name_for_search.Size = new System.Drawing.Size(100, 21);
            this.building_name_for_search.TabIndex = 23;
            this.building_name_for_search.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.building_name_for_search_KeyPress);
            // 
            // ck_only_twc
            // 
            this.ck_only_twc.AutoSize = true;
            this.ck_only_twc.Location = new System.Drawing.Point(537, 131);
            this.ck_only_twc.Name = "ck_only_twc";
            this.ck_only_twc.Size = new System.Drawing.Size(96, 16);
            this.ck_only_twc.TabIndex = 22;
            this.ck_only_twc.Text = "只显示太吾村";
            this.ck_only_twc.UseVisualStyleBackColor = true;
            this.ck_only_twc.CheckedChanged += new System.EventHandler(this.ck_only_twc_CheckedChanged);
            // 
            // ck_building_types
            // 
            this.ck_building_types.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.ck_building_types.FormattingEnabled = true;
            this.ck_building_types.Location = new System.Drawing.Point(457, 41);
            this.ck_building_types.Name = "ck_building_types";
            this.ck_building_types.Size = new System.Drawing.Size(74, 20);
            this.ck_building_types.TabIndex = 21;
            this.ck_building_types.Visible = false;
            // 
            // listView1
            // 
            this.listView1.Location = new System.Drawing.Point(390, 7);
            this.listView1.Name = "listView1";
            this.listView1.Size = new System.Drawing.Size(141, 79);
            this.listView1.TabIndex = 20;
            this.listView1.UseCompatibleStateImageBehavior = false;
            this.listView1.Visible = false;
            // 
            // ck_max_level
            // 
            this.ck_max_level.AutoSize = true;
            this.ck_max_level.Location = new System.Drawing.Point(641, 182);
            this.ck_max_level.Name = "ck_max_level";
            this.ck_max_level.Size = new System.Drawing.Size(42, 16);
            this.ck_max_level.TabIndex = 19;
            this.ck_max_level.Text = "Max";
            this.ck_max_level.UseVisualStyleBackColor = true;
            // 
            // label43
            // 
            this.label43.ForeColor = System.Drawing.Color.Red;
            this.label43.Location = new System.Drawing.Point(172, 7);
            this.label43.Name = "label43";
            this.label43.Size = new System.Drawing.Size(359, 27);
            this.label43.TabIndex = 14;
            this.label43.Text = "改建筑属于危险行为，请勿修改有活动的建筑（正在制造，派遣了人员等）";
            // 
            // label77
            // 
            this.label77.AutoSize = true;
            this.label77.Location = new System.Drawing.Point(172, 44);
            this.label77.Name = "label77";
            this.label77.Size = new System.Drawing.Size(53, 12);
            this.label77.TabIndex = 18;
            this.label77.Text = "村子空间";
            // 
            // homeFavorAdd
            // 
            this.homeFavorAdd.Location = new System.Drawing.Point(231, 40);
            this.homeFavorAdd.Name = "homeFavorAdd";
            this.homeFavorAdd.Size = new System.Drawing.Size(100, 21);
            this.homeFavorAdd.TabIndex = 17;
            this.homeFavorAdd.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.homeFavorAdd.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // label45
            // 
            this.label45.AutoSize = true;
            this.label45.Location = new System.Drawing.Point(537, 209);
            this.label45.Name = "label45";
            this.label45.Size = new System.Drawing.Size(29, 12);
            this.label45.TabIndex = 16;
            this.label45.Text = "类型";
            // 
            // label44
            // 
            this.label44.AutoSize = true;
            this.label44.Location = new System.Drawing.Point(537, 182);
            this.label44.Name = "label44";
            this.label44.Size = new System.Drawing.Size(29, 12);
            this.label44.TabIndex = 15;
            this.label44.Text = "等级";
            // 
            // label42
            // 
            this.label42.Location = new System.Drawing.Point(538, 230);
            this.label42.Name = "label42";
            this.label42.Size = new System.Drawing.Size(120, 55);
            this.label42.TabIndex = 13;
            this.label42.Text = "资源0\r\n建筑1\r\n中心建筑(太吾村)2\r\n请自行修改";
            // 
            // building_type
            // 
            this.building_type.Location = new System.Drawing.Point(572, 206);
            this.building_type.Name = "building_type";
            this.building_type.Size = new System.Drawing.Size(63, 21);
            this.building_type.TabIndex = 12;
            this.building_type.Text = "0";
            this.building_type.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.building_type.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // building_id
            // 
            this.building_id.Location = new System.Drawing.Point(589, 7);
            this.building_id.Name = "building_id";
            this.building_id.ReadOnly = true;
            this.building_id.Size = new System.Drawing.Size(89, 21);
            this.building_id.TabIndex = 11;
            // 
            // list_building_value
            // 
            this.list_building_value.FormattingEnabled = true;
            this.list_building_value.ItemHeight = 12;
            this.list_building_value.Location = new System.Drawing.Point(538, 317);
            this.list_building_value.Name = "list_building_value";
            this.list_building_value.Size = new System.Drawing.Size(120, 268);
            this.list_building_value.TabIndex = 10;
            // 
            // building_index
            // 
            this.building_index.Location = new System.Drawing.Point(537, 7);
            this.building_index.Name = "building_index";
            this.building_index.ReadOnly = true;
            this.building_index.Size = new System.Drawing.Size(46, 21);
            this.building_index.TabIndex = 9;
            // 
            // change_building
            // 
            this.change_building.Enabled = false;
            this.change_building.Location = new System.Drawing.Point(537, 290);
            this.change_building.Name = "change_building";
            this.change_building.Size = new System.Drawing.Size(121, 23);
            this.change_building.TabIndex = 8;
            this.change_building.Text = "改建";
            this.change_building.UseVisualStyleBackColor = true;
            this.change_building.Click += new System.EventHandler(this.change_building_Click);
            // 
            // building_level
            // 
            this.building_level.Location = new System.Drawing.Point(572, 179);
            this.building_level.Name = "building_level";
            this.building_level.Size = new System.Drawing.Size(63, 21);
            this.building_level.TabIndex = 7;
            this.building_level.Text = "0";
            this.building_level.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.building_level.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // building_ids
            // 
            this.building_ids.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.building_ids.FormattingEnabled = true;
            this.building_ids.Location = new System.Drawing.Point(537, 153);
            this.building_ids.Name = "building_ids";
            this.building_ids.Size = new System.Drawing.Size(141, 20);
            this.building_ids.TabIndex = 6;
            this.building_ids.SelectedIndexChanged += new System.EventHandler(this.building_ids_SelectedIndexChanged);
            // 
            // buildings
            // 
            this.buildings.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.buildings.Location = new System.Drawing.Point(11, 68);
            this.buildings.Name = "buildings";
            this.buildings.Size = new System.Drawing.Size(520, 520);
            this.buildings.TabIndex = 5;
            // 
            // placeIds
            // 
            this.placeIds.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.placeIds.FormattingEnabled = true;
            this.placeIds.Location = new System.Drawing.Point(100, 41);
            this.placeIds.Name = "placeIds";
            this.placeIds.Size = new System.Drawing.Size(66, 20);
            this.placeIds.TabIndex = 4;
            this.placeIds.SelectedIndexChanged += new System.EventHandler(this.placeIds_SelectedIndexChanged);
            // 
            // partIds
            // 
            this.partIds.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.partIds.FormattingEnabled = true;
            this.partIds.Location = new System.Drawing.Point(11, 41);
            this.partIds.Name = "partIds";
            this.partIds.Size = new System.Drawing.Size(83, 20);
            this.partIds.TabIndex = 3;
            this.partIds.SelectedValueChanged += new System.EventHandler(this.partIds_SelectedValueChanged);
            // 
            // mianActorPlaceId
            // 
            this.mianActorPlaceId.Location = new System.Drawing.Point(121, 13);
            this.mianActorPlaceId.Name = "mianActorPlaceId";
            this.mianActorPlaceId.ReadOnly = true;
            this.mianActorPlaceId.Size = new System.Drawing.Size(45, 21);
            this.mianActorPlaceId.TabIndex = 2;
            // 
            // mianActor_partId
            // 
            this.mianActor_partId.Location = new System.Drawing.Point(68, 12);
            this.mianActor_partId.Name = "mianActor_partId";
            this.mianActor_partId.ReadOnly = true;
            this.mianActor_partId.Size = new System.Drawing.Size(47, 21);
            this.mianActor_partId.TabIndex = 1;
            // 
            // label41
            // 
            this.label41.AutoSize = true;
            this.label41.Location = new System.Drawing.Point(9, 15);
            this.label41.Name = "label41";
            this.label41.Size = new System.Drawing.Size(53, 12);
            this.label41.TabIndex = 0;
            this.label41.Text = "主角坐标";
            // 
            // tabPage5
            // 
            this.tabPage5.Controls.Add(this.panel4);
            this.tabPage5.Location = new System.Drawing.Point(4, 22);
            this.tabPage5.Name = "tabPage5";
            this.tabPage5.Size = new System.Drawing.Size(686, 602);
            this.tabPage5.TabIndex = 4;
            this.tabPage5.Text = "设置";
            this.tabPage5.UseVisualStyleBackColor = true;
            // 
            // panel4
            // 
            this.panel4.Controls.Add(this.label64);
            this.panel4.Controls.Add(this.label63);
            this.panel4.Controls.Add(this.label62);
            this.panel4.Controls.Add(this.label61);
            this.panel4.Controls.Add(this.label60);
            this.panel4.Controls.Add(this.label59);
            this.panel4.Controls.Add(this.label58);
            this.panel4.Controls.Add(this.birthWorldId);
            this.panel4.Controls.Add(this.randomHeir);
            this.panel4.Controls.Add(this.worldResource);
            this.panel4.Controls.Add(this.xxLevel);
            this.panel4.Controls.Add(this.enemySize);
            this.panel4.Controls.Add(this.enemyBorn);
            this.panel4.Controls.Add(this.ageTime);
            this.panel4.Controls.Add(this.homeTypId);
            this.panel4.Location = new System.Drawing.Point(4, 4);
            this.panel4.Name = "panel4";
            this.panel4.Size = new System.Drawing.Size(679, 595);
            this.panel4.TabIndex = 0;
            this.panel4.Paint += new System.Windows.Forms.PaintEventHandler(this.panel4_Paint);
            // 
            // label64
            // 
            this.label64.Location = new System.Drawing.Point(128, 14);
            this.label64.Name = "label64";
            this.label64.Size = new System.Drawing.Size(546, 164);
            this.label64.TabIndex = 14;
            this.label64.Text = "范围 0~3";
            // 
            // label63
            // 
            this.label63.AutoSize = true;
            this.label63.Location = new System.Drawing.Point(4, 45);
            this.label63.Name = "label63";
            this.label63.Size = new System.Drawing.Size(65, 12);
            this.label63.TabIndex = 13;
            this.label63.Text = "战斗的难度";
            // 
            // label62
            // 
            this.label62.AutoSize = true;
            this.label62.Location = new System.Drawing.Point(4, 129);
            this.label62.Name = "label62";
            this.label62.Size = new System.Drawing.Size(65, 12);
            this.label62.TabIndex = 12;
            this.label62.Text = "世界的状况";
            // 
            // label61
            // 
            this.label61.AutoSize = true;
            this.label61.Location = new System.Drawing.Point(4, 157);
            this.label61.Name = "label61";
            this.label61.Size = new System.Drawing.Size(65, 12);
            this.label61.TabIndex = 11;
            this.label61.Text = "随机继承人";
            // 
            // label60
            // 
            this.label60.AutoSize = true;
            this.label60.Location = new System.Drawing.Point(4, 73);
            this.label60.Name = "label60";
            this.label60.Size = new System.Drawing.Size(65, 12);
            this.label60.TabIndex = 10;
            this.label60.Text = "外道的数量";
            // 
            // label59
            // 
            this.label59.AutoSize = true;
            this.label59.Location = new System.Drawing.Point(4, 101);
            this.label59.Name = "label59";
            this.label59.Size = new System.Drawing.Size(65, 12);
            this.label59.TabIndex = 9;
            this.label59.Text = "侵袭的速度";
            // 
            // label58
            // 
            this.label58.AutoSize = true;
            this.label58.Location = new System.Drawing.Point(4, 17);
            this.label58.Name = "label58";
            this.label58.Size = new System.Drawing.Size(65, 12);
            this.label58.TabIndex = 8;
            this.label58.Text = "人物的寿命";
            this.label58.Click += new System.EventHandler(this.label58_Click);
            // 
            // birthWorldId
            // 
            this.birthWorldId.Location = new System.Drawing.Point(83, 181);
            this.birthWorldId.Name = "birthWorldId";
            this.birthWorldId.ReadOnly = true;
            this.birthWorldId.Size = new System.Drawing.Size(100, 21);
            this.birthWorldId.TabIndex = 7;
            this.birthWorldId.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.birthWorldId.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // randomHeir
            // 
            this.randomHeir.Location = new System.Drawing.Point(83, 154);
            this.randomHeir.Name = "randomHeir";
            this.randomHeir.Size = new System.Drawing.Size(39, 21);
            this.randomHeir.TabIndex = 6;
            this.randomHeir.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.randomHeir.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // worldResource
            // 
            this.worldResource.Location = new System.Drawing.Point(83, 126);
            this.worldResource.Name = "worldResource";
            this.worldResource.Size = new System.Drawing.Size(39, 21);
            this.worldResource.TabIndex = 5;
            this.worldResource.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.worldResource.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // xxLevel
            // 
            this.xxLevel.Location = new System.Drawing.Point(83, 98);
            this.xxLevel.Name = "xxLevel";
            this.xxLevel.Size = new System.Drawing.Size(39, 21);
            this.xxLevel.TabIndex = 4;
            this.xxLevel.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.xxLevel.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // enemySize
            // 
            this.enemySize.Location = new System.Drawing.Point(83, 70);
            this.enemySize.Name = "enemySize";
            this.enemySize.Size = new System.Drawing.Size(39, 21);
            this.enemySize.TabIndex = 3;
            this.enemySize.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.enemySize.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // enemyBorn
            // 
            this.enemyBorn.Location = new System.Drawing.Point(83, 42);
            this.enemyBorn.Name = "enemyBorn";
            this.enemyBorn.Size = new System.Drawing.Size(39, 21);
            this.enemyBorn.TabIndex = 2;
            this.enemyBorn.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.enemyBorn.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // ageTime
            // 
            this.ageTime.Location = new System.Drawing.Point(83, 14);
            this.ageTime.Name = "ageTime";
            this.ageTime.Size = new System.Drawing.Size(39, 21);
            this.ageTime.TabIndex = 1;
            this.ageTime.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.ageTime.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // homeTypId
            // 
            this.homeTypId.Location = new System.Drawing.Point(83, 208);
            this.homeTypId.Name = "homeTypId";
            this.homeTypId.ReadOnly = true;
            this.homeTypId.Size = new System.Drawing.Size(100, 21);
            this.homeTypId.TabIndex = 0;
            this.homeTypId.TextChanged += new System.EventHandler(this.numberonly_TextChanged);
            this.homeTypId.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numberonly_KeyPress);
            // 
            // cb_as
            // 
            this.cb_as.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cb_as.FormattingEnabled = true;
            this.cb_as.Location = new System.Drawing.Point(207, 4);
            this.cb_as.Name = "cb_as";
            this.cb_as.Size = new System.Drawing.Size(121, 20);
            this.cb_as.TabIndex = 97;
            this.cb_as.SelectedValueChanged += new System.EventHandler(this.cb_as_SelectedValueChanged);
            // 
            // actor_name_for_search
            // 
            this.actor_name_for_search.ImeMode = System.Windows.Forms.ImeMode.HangulFull;
            this.actor_name_for_search.Location = new System.Drawing.Point(334, 4);
            this.actor_name_for_search.Name = "actor_name_for_search";
            this.actor_name_for_search.Size = new System.Drawing.Size(100, 21);
            this.actor_name_for_search.TabIndex = 98;
            this.actor_name_for_search.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.actor_name_for_search_KeyPress);
            // 
            // btn_actor_search
            // 
            this.btn_actor_search.Location = new System.Drawing.Point(440, 4);
            this.btn_actor_search.Name = "btn_actor_search";
            this.btn_actor_search.Size = new System.Drawing.Size(75, 23);
            this.btn_actor_search.TabIndex = 99;
            this.btn_actor_search.Text = "筛选";
            this.btn_actor_search.UseVisualStyleBackColor = true;
            this.btn_actor_search.Click += new System.EventHandler(this.btn_actor_search_Click);
            // 
            // decode
            // 
            this.decode.Location = new System.Drawing.Point(612, 4);
            this.decode.Name = "decode";
            this.decode.Size = new System.Drawing.Size(75, 23);
            this.decode.TabIndex = 100;
            this.decode.Text = "解密";
            this.decode.UseVisualStyleBackColor = true;
            this.decode.Visible = false;
            this.decode.Click += new System.EventHandler(this.decode_Click);
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(694, 641);
            this.Controls.Add(this.decode);
            this.Controls.Add(this.btn_actor_search);
            this.Controls.Add(this.actor_name_for_search);
            this.Controls.Add(this.cb_as);
            this.Controls.Add(this.tabControl1);
            this.Controls.Add(this.menuStrip1);
            this.MainMenuStrip = this.menuStrip1;
            this.MinimumSize = new System.Drawing.Size(700, 680);
            this.Name = "Form1";
            this.Text = "蛐蛐专杀 v0.7";
            this.Load += new System.EventHandler(this.Form1_Load);
            this.Resize += new System.EventHandler(this.Form1_Resize);
            this.menuStrip1.ResumeLayout(false);
            this.menuStrip1.PerformLayout();
            this.tabControl1.ResumeLayout(false);
            this.tabPage1.ResumeLayout(false);
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            this.tabPage2.ResumeLayout(false);
            this.panel_txs.ResumeLayout(false);
            this.panel_txs.PerformLayout();
            this.tabPage6.ResumeLayout(false);
            this.panel5.ResumeLayout(false);
            this.panel5.PerformLayout();
            this.tabPage3.ResumeLayout(false);
            this.tabPage3.PerformLayout();
            this.panel2.ResumeLayout(false);
            this.panel2.PerformLayout();
            this.panel3.ResumeLayout(false);
            this.panel3.PerformLayout();
            this.tabPage7.ResumeLayout(false);
            this.panel6.ResumeLayout(false);
            this.panel6.PerformLayout();
            this.tabPage4.ResumeLayout(false);
            this.tabPage4.PerformLayout();
            this.tabPage5.ResumeLayout(false);
            this.panel4.ResumeLayout(false);
            this.panel4.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

		}

        private void label58_Click(object sender, EventArgs e)
        {

        }

        private void dt_18_TextChanged(object sender, EventArgs e)
        {

        }
    }
}
